CVE-2025-4949
XXE vulnerability in Eclipse JGit
Also known as GHSA-vrpq-qp53-qv56
Mitigation
- Upgrade org.eclipse.jgit:org.eclipse.jgit to one of 7.2.1.202505142326-r, 7.1.1.202505221757-r, 7.0.1.202505221510-r, 6.10.1.202505221210-r, 6.0.0.202111291000-r, 5.13.4.202507202350-r (or later in the same release line).
Who should check
- Projects that depend on Maven package org.eclipse.jgit:org.eclipse.jgit (>= 7.2.0.202503040940-r, < 7.2.1.202505142326-r)
- Anyone running Eclipse JGit >= 7.2.0, < 7.2.1.202505142326-r; >= 7.1.0, < 7.1.1.202505221757-r; >= 7.0.0, < 7.0.1.202505221510-r; < 5.13.4.202507202350-r; >= 6.0.0, < 6.10.1.202505221210-r
Vulnerability facts
- Affected
- org.eclipse.jgit:org.eclipse.jgit >= 7.2.0.202503040940-r, < 7.2.1.202505142326-r
- Fixed in
- 7.2.1.202505142326-r, 7.1.1.202505221757-r, 7.0.1.202505221510-r, 6.10.1.202505221210-r, 6.0.0.202111291000-r, 5.13.4.202507202350-r
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 6.8 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/S:N/AU:Y/R:U/V:D/RE:L/U:GreenOpen in CVSS calculator
Show all 17 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: None
- Privileges required: Low
- User interaction: Active
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: High
- Integrity impact on other systems: None
- Availability impact on other systems: None
- S: N
- AU: Y
- R: U
- V: D
- RE: L
- U: Green
- EPSS
- 0.99% chance of exploitation in 30 days (percentile 61, 2026-11-26)
- CWE
- CWE-611, CWE-827
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.eclipse.jgit:org.eclipse.jgit | >= 7.2.0.202503040940-r, < 7.2.1.202505142326-r | 7.2.1.202505142326-r, 7.1.1.202505221757-r, 7.0.1.202505221510-r, 6.10.1.202505221210-r, 6.0.0.202111291000-r, 5.13.4.202507202350-r | osv |
| Eclipse JGit | >= 7.2.0, < 7.2.1.202505142326-r; >= 7.1.0, < 7.1.1.202505221757-r; >= 7.0.0, < 7.0.1.202505221510-r; < 5.13.4.202507202350-r; >= 6.0.0, < 6.10.1.202505221210-r | — | cvelist |
| Eclipse JGit | >= 7.2.0, < 7.2.1.202505142326-r; >= 7.1.0, < 7.1.1.202505221757-r; >= 7.0.0, < 7.0.1.202505221510-r; < 5.13.4.202507202350-r; >= 6.0.0, < 6.10.1.202505221210-r | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-4949. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-4949.md Affected: org.eclipse.jgit:org.eclipse.jgit >= 7.2.0.202503040940-r, < 7.2.1.202505142326-r Fixed in: 7.2.1.202505142326-r, 7.1.1.202505221757-r, 7.0.1.202505221510-r, 6.10.1.202505221210-r, 6.0.0.202111291000-r, 5.13.4.202507202350-r Steps: 1. Search this machine and project for org.eclipse.jgit:org.eclipse.jgit (Maven), Eclipse JGit: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://projects.eclipse.org/projects/technology.jgit/releases/7.2.1
- https://projects.eclipse.org/projects/technology.jgit/releases/7.1.1
- https://projects.eclipse.org/projects/technology.jgit/releases/7.0.1
- https://projects.eclipse.org/projects/technology.jgit/releases/6.10.1
- https://projects.eclipse.org/projects/technology.jgit/releases/5.13.4
- https://github.com/eclipse-jgit/jgit
- https://projects.eclipse.org/projects/technology.jgit/releases/5.13.5
FAQ
Is CVE-2025-4949 being exploited?
There is no confirmed exploitation: CVE-2025-4949 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.99% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-4949?
Medium: CVSS 6.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-4949?
org.eclipse.jgit:org.eclipse.jgit >= 7.2.0.202503040940-r, < 7.2.1.202505142326-r.
Is there a fix for CVE-2025-4949?
Yes. Fixed in 7.2.1.202505142326-r, 7.1.1.202505221757-r, 7.0.1.202505221510-r, 6.10.1.202505221210-r, 6.0.0.202111291000-r, 5.13.4.202507202350-r. Upgrade org.eclipse.jgit:org.eclipse.jgit to one of 7.2.1.202505142326-r, 7.1.1.202505221757-r, 7.0.1.202505221510-r, 6.10.1.202505221210-r, 6.0.0.202111291000-r, 5.13.4.202507202350-r (or later in the same release line).
How do I check if I'm affected by CVE-2025-4949?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.