What’s Vulnerable › Vulnerabilities
CVE-2025-4949: XXE vulnerability in Eclipse JGit
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-05-21 · updated 2026-06-17
- Weakness: CWE-611
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 products
- Eclipse JGit: before 5.13.4; from 6.0.0 before 6.10.1.202505221210; from 7.0.0 before 7.0.1.202505221510; from 7.1.0 before 7.1.1.202505221757; from 7.2.0 before 7.2.1.202505142326 — fixed in 5.13.4, 6.10.1.202505221210, 7.0.1.202505221510, 7.1.1.202505221757, 7.2.1.202505142326
How to fix
Upgrade to a fixed version: Eclipse JGit 5.13.4, 6.10.1.202505221210, 7.0.1.202505221510, 7.1.1.202505221757. Check the vendor advisory for mitigations.
References
- https://gitlab.eclipse.org/security/cve-assignement/-/issues/64
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/281
- https://projects.eclipse.org/projects/technology.jgit/releases/5.13.4
- https://projects.eclipse.org/projects/technology.jgit/releases/6.10.1
- https://projects.eclipse.org/projects/technology.jgit/releases/7.0.1
- https://projects.eclipse.org/projects/technology.jgit/releases/7.1.1
- https://projects.eclipse.org/projects/technology.jgit/releases/7.2.1
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/281
Get alerted when CVE-2025-4949 or the next vulnerability affects your stack