File disclosure via unrestricted SAX external entities
Published May 21, 2025 · Updated Oct 14, 2025
XXE in Eclipse JGit 7.2.0.202503040940-r and earlier allows remote authenticated users to disclose local files through crafted XML. ManifestParser.read and AmazonS3.list create SAX parsers without disabling DOCTYPE or external entities, causing attacker-controlled system identifiers to resolve local files or URLs. Exploitation requires a JGit consumer to parse a malicious repo manifest or attacker-controlled S3 XML response; demonstrated disclosure is limited to file content usable in a URL.
Summary
What happened
XXE in Eclipse JGit 7.2.0.202503040940-r and earlier allows remote authenticated users to disclose local files through crafted XML. ManifestParser.read and AmazonS3.list create SAX parsers without disabling DOCTYPE or external entities, causing attacker-controlled system identifiers to resolve local files or URLs. Exploitation requires a JGit consumer to parse a malicious repo manifest or attacker-controlled S3 XML response; demonstrated disclosure is limited to file content usable in a URL.
The record
- CVE
- CVE-2025-4949
- Published
- May 21, 2025
- Updated
- Oct 14, 2025
- Vendor
- The Eclipse Foundation
- Product
- Eclipse JGit
- Classifications
- CWE-611, T1203
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2025CVE publishedPublication date reported by the CVE source.
- Oct 14, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <5.13.4.202507202350-r
- Affected versionversion=6.0.0 <6.10.1.202505221210-r
- Affected versionversion=7.0.0 <7.0.1.202505221510-r
- Affected versionversion=7.1.0 <7.1.1.202505221757-r
- Affected versionversion=7.2.0 <7.2.1.202505142326-r
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- ManifestParser XXE file-exfiltration test caseproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo