CVE-2025-4949
MEDIUMEclipse JGit XML External Entity (XXE) Vulnerability
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Blast Radius
org.eclipse.jgit:org.eclipse.jgit☕org.eclipse.jgit:org.eclipse.jgit☕org.eclipse.jgit:org.eclipse.jgit☕org.eclipse.jgit:org.eclipse.jgit☕org.eclipse.jgit:org.eclipse.jgit☕org.eclipse.jgit:org.eclipse.jgitReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
In Eclipse JGit versions 7.2.0.202503040940-r and older, the ManifestParser class used by the repo command and the AmazonS3 class used to implement the experimental amazons3 git transport protocol allowing to store git pack files in an Amazon S3 bucket, are vulnerable to XML External Entity (XXE) attacks when parsing XML files. This vulnerability can lead to information disclosure, denial of service, and other security issues.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.eclipse.jgit:org.eclipse.jgit | ≥ 7.2.0.202503040940-r&&< 7.2.1.202505142326-r | 7.2.1.202505142326-r |
| ☕Maven | org.eclipse.jgit:org.eclipse.jgit | ≥ 7.1.0.202411261347-r&&< 7.1.1.202505221757-r | 7.1.1.202505221757-r |
| ☕Maven | org.eclipse.jgit:org.eclipse.jgit | ≥ 7.0.0.202409031743-r&&< 7.0.1.202505221510-r | 7.0.1.202505221510-r |
| ☕Maven | org.eclipse.jgit:org.eclipse.jgit | ≥ 6.1.0.202203080745-r&&< 6.10.1.202505221210-r | 6.10.1.202505221210-r |
| ☕Maven | org.eclipse.jgit:org.eclipse.jgit | ≥ 6.0.0.202110060947-m1&&< 6.0.0.202111291000-r | 6.0.0.202111291000-r |
| ☕Maven | org.eclipse.jgit:org.eclipse.jgit | all versions | 5.13.4.202507202350-r |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.eclipse.jgit:org.eclipse.jgit. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update org.eclipse.jgit:org.eclipse.jgit to 7.2.1.202505142326-r or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-4949 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether CVE-2025-4949 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to CVE-2025-4949. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is CVE-2025-4949 in your dependencies?
O3 detects CVE-2025-4949 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.