Skip to content

CVE-2025-59346 Dragonfly server-side request forgery vulnerability

MediumCVSS 5.5 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

Dragonfly is an open source P2P-based file distribution and image acceleration system. Versions prior to 2.1.0 contain a server-side request forgery (SSRF) vulnerability that enables users to force DragonFly2’s components to make requests to internal services that are otherwise not accessible to them. The issue arises because the Manager API accepts a user-supplied URL when creating a Preheat job with weak validation, peers can trigger other peers to fetch an arbitrary URL through pieceManager.DownloadSource, and internal HTTP clients follow redirects, allowing a request to a malicious server to be redirected to internal services. This can be used to probe or access internal HTTP endpoints. The vulnerability is fixed in version 2.1.0.

Upgrade path

4 packages: 2 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
dragonflyoss dragonfly(Go) < 2.1.0; All versions 2.1.0 Partially fixed
d7y.io/dragonfly/v2(Go) < 2.1.0 2.1.0 Fixed
linuxfoundation dragonfly < 2.1.0 2.1.0 Fixed
dragonflyoss dragonfly = < 2.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
dragonflyoss dragonfly(Go) < 2.1.0 2.1.0
d7y.io/dragonfly/v2(Go) < 2.1.0 2.1.0
dragonflyoss dragonfly(Go) All versions No fix listed
dragonflyoss dragonfly = < 2.1.0 No fix listed
linuxfoundation dragonfly < 2.1.0 2.1.0

References