CVE-2025-59353 Manager generates mTLS certificates for arbitrary IP addresses
Attackers can obtain valid mTLS certificates for arbitrary IPs, bypassing authentication in Dragonfly's P2P distribution system.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-59353?
CVE-2025-59353 is a high-severity authentication bypass vulnerability in dragonflyoss dragonfly, published on 17 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, a peer can obtain a valid TLS certificate for arbitrary IP addresses, effectively rendering the mTLS authentication useless. The issue is that the Manager’s Certificate gRPC service does not validate if the requested IP addresses “belong to” the peer requesting the certificate—that is, if the peer connects from the same IP address as the one provided in the certificate request. This vulnerability is fixed in 2.1.0.
Which versions are affected by CVE-2025-59353?
6 open source packages ship an affected version, including github.com/dragonflyoss/dragonfly and d7y.io/dragonfly/v2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/dragonflyoss/dragonfly Go | All versions | None |
github.com/dragonflyoss/dragonfly Go | All versions | 2.1.0 |
github.com/dragonflyoss/dragonfly Go | All versions | 2.1.0 |
d7y.io/dragonfly/v2 Go | All versions | 2.1.0 |
d7y.io/dragonfly/v2 Go | All versions | 2.1.0 |
d7y.io/dragonfly/v2 Go | All versions | 2.1.0 |
Products include Linuxfoundation Dragonfly.
How do I fix CVE-2025-59353?
Upgrade github.com/dragonflyoss/dragonfly to 2.1.0 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2025-59353 being exploited?
There is no known exploitation of CVE-2025-59353 in the wild and no public exploit code.
Other vulnerabilities in dragonflyoss dragonfly
- CVE-2023-27584 Dragonfly2 vulnerable to hard coded cyptographic key
- CVE-2026-24124 Dragonfly Manager Job API Allows Unauthenticated Access
- CVE-2025-59345 Dragonfly did not enable authentication for some Manager’s endpoints
- CVE-2025-59352 Dragonfly allows arbitrary file read and write on a peer machine
- CVE-2025-59346 Dragonfly server-side request forgery vulnerability
Sources
Also known as GHSA-255v-qv84-29p5, GO-2025-3969.