CVE-2025-59352: CWE-202: Exposure of Sensitive Information Through Data Queries in dragonflyoss dragonfly
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the gRPC API and HTTP APIs allow peers to send requests that force the recipient peer to create files in arbitrary file system locations, and to read arbitrary files. This allows peers to steal other peers’ secret data and to gain remote code execution (RCE) capabilities on the peer’s machine.This vulnerability is fixed in 2.1.0.
AI Analysis
Technical Summary
CVE-2025-59352 is a vulnerability affecting dragonflyoss's Dragonfly, an open-source peer-to-peer (P2P) file distribution and image acceleration system. Versions prior to 2.1.0 are vulnerable due to flaws in both the gRPC and HTTP APIs. These APIs allow malicious peers to send crafted requests that cause the recipient peer to create files in arbitrary filesystem locations and read arbitrary files. This behavior leads to exposure of sensitive information, as attackers can steal secret data from other peers. Furthermore, the ability to write files arbitrarily can be leveraged to achieve remote code execution (RCE) on the victim’s machine. The vulnerability stems from improper validation of file paths and insufficient access controls, corresponding to CWE-202 (Exposure of Sensitive Information Through Data Queries) and CWE-22 (Path Traversal). The CVSS 4.0 score is 6.9 (medium severity), reflecting network attack vector, no required privileges or user interaction, but with high scope and impact on confidentiality, integrity, and availability. The vulnerability is fixed in Dragonfly version 2.1.0. No known exploits are reported in the wild yet. Given Dragonfly’s role in accelerating image distribution and file sharing in distributed environments, exploitation could compromise critical infrastructure components that rely on it for efficient content delivery and caching.
Potential Impact
For European organizations, the impact of this vulnerability can be significant, especially for enterprises and cloud providers using Dragonfly for container image distribution, software delivery, or caching services. Exposure of sensitive files could lead to leakage of credentials, configuration files, or proprietary data. The RCE capability elevates the risk to full system compromise, enabling attackers to deploy malware, pivot within networks, or disrupt operations. This is particularly critical for sectors with stringent data protection requirements such as finance, healthcare, and government agencies. The distributed nature of Dragonfly means that a compromised peer could be used as a foothold to attack other nodes in the network, amplifying the threat. Additionally, supply chain security could be impacted if attackers manipulate image distribution processes. The medium CVSS score suggests a moderate but non-negligible risk, warranting prompt patching and mitigation to prevent lateral movement and data breaches.
Mitigation Recommendations
Organizations should upgrade all Dragonfly deployments to version 2.1.0 or later immediately to remediate this vulnerability. Until upgrades are feasible, restrict network access to Dragonfly peers to trusted entities only, using network segmentation and firewall rules to limit exposure. Implement strict monitoring and logging of API requests to detect anomalous file creation or access patterns indicative of exploitation attempts. Employ host-based intrusion detection systems (HIDS) to identify unauthorized file system changes. Review and harden file system permissions on nodes running Dragonfly to minimize damage from arbitrary file writes. Consider deploying application-layer gateways or API proxies that validate and sanitize incoming requests to Dragonfly APIs. Finally, conduct thorough security assessments of the Dragonfly deployment architecture to ensure no unnecessary exposure of peers to untrusted networks.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Poland, Italy
CVE-2025-59352: CWE-202: Exposure of Sensitive Information Through Data Queries in dragonflyoss dragonfly
Description
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the gRPC API and HTTP APIs allow peers to send requests that force the recipient peer to create files in arbitrary file system locations, and to read arbitrary files. This allows peers to steal other peers’ secret data and to gain remote code execution (RCE) capabilities on the peer’s machine.This vulnerability is fixed in 2.1.0.
AI-Powered Analysis
Technical Analysis
CVE-2025-59352 is a vulnerability affecting dragonflyoss's Dragonfly, an open-source peer-to-peer (P2P) file distribution and image acceleration system. Versions prior to 2.1.0 are vulnerable due to flaws in both the gRPC and HTTP APIs. These APIs allow malicious peers to send crafted requests that cause the recipient peer to create files in arbitrary filesystem locations and read arbitrary files. This behavior leads to exposure of sensitive information, as attackers can steal secret data from other peers. Furthermore, the ability to write files arbitrarily can be leveraged to achieve remote code execution (RCE) on the victim’s machine. The vulnerability stems from improper validation of file paths and insufficient access controls, corresponding to CWE-202 (Exposure of Sensitive Information Through Data Queries) and CWE-22 (Path Traversal). The CVSS 4.0 score is 6.9 (medium severity), reflecting network attack vector, no required privileges or user interaction, but with high scope and impact on confidentiality, integrity, and availability. The vulnerability is fixed in Dragonfly version 2.1.0. No known exploits are reported in the wild yet. Given Dragonfly’s role in accelerating image distribution and file sharing in distributed environments, exploitation could compromise critical infrastructure components that rely on it for efficient content delivery and caching.
Potential Impact
For European organizations, the impact of this vulnerability can be significant, especially for enterprises and cloud providers using Dragonfly for container image distribution, software delivery, or caching services. Exposure of sensitive files could lead to leakage of credentials, configuration files, or proprietary data. The RCE capability elevates the risk to full system compromise, enabling attackers to deploy malware, pivot within networks, or disrupt operations. This is particularly critical for sectors with stringent data protection requirements such as finance, healthcare, and government agencies. The distributed nature of Dragonfly means that a compromised peer could be used as a foothold to attack other nodes in the network, amplifying the threat. Additionally, supply chain security could be impacted if attackers manipulate image distribution processes. The medium CVSS score suggests a moderate but non-negligible risk, warranting prompt patching and mitigation to prevent lateral movement and data breaches.
Mitigation Recommendations
Organizations should upgrade all Dragonfly deployments to version 2.1.0 or later immediately to remediate this vulnerability. Until upgrades are feasible, restrict network access to Dragonfly peers to trusted entities only, using network segmentation and firewall rules to limit exposure. Implement strict monitoring and logging of API requests to detect anomalous file creation or access patterns indicative of exploitation attempts. Employ host-based intrusion detection systems (HIDS) to identify unauthorized file system changes. Review and harden file system permissions on nodes running Dragonfly to minimize damage from arbitrary file writes. Consider deploying application-layer gateways or API proxies that validate and sanitize incoming requests to Dragonfly APIs. Finally, conduct thorough security assessments of the Dragonfly deployment architecture to ensure no unnecessary exposure of peers to untrusted networks.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-09-12T12:36:24.637Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 68cb125572cbf43db2b5418a
Added to database: 9/17/2025, 7:56:05 PM
Last enriched: 9/25/2025, 12:38:56 AM
Last updated: 11/1/2025, 7:51:09 AM
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-6990: CWE-94 Improper Control of Generation of Code ('Code Injection') in hogash KALLYAS - Creative eCommerce Multi-Purpose WordPress Theme
HighCVE-2025-6988: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in hogash KALLYAS - Creative eCommerce Multi-Purpose WordPress Theme
MediumCVE-2025-6574: CWE-639 Authorization Bypass Through User-Controlled Key in aonetheme Service Finder Bookings
HighCVE-2025-12171: CWE-434 Unrestricted Upload of File with Dangerous Type in anthonyeden RESTful Content Syndication
HighCVE-2025-12137: CWE-73 External Control of File Name or Path in jcollings Import WP – Export and Import CSV and XML files to WordPress
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.