# CVE-2025-4949: XXE vulnerability in Eclipse JGit

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **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:Green`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.99% (percentile 61, 2026-11-26)
- **CWE:** CWE-611, CWE-827
- **Aliases:** GHSA-vrpq-qp53-qv56
- **Published:** 2025-05-21T06:47:19.777Z
- **Modified:** 2026-09-10T03:50:24.825Z

## 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

## 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

- Maven `org.eclipse.jgit:org.eclipse.jgit`: affected \>= 7.2.0.202503040940-r, \< 7.2.1.202505142326-r; fixed 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)

## 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).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://gitlab.eclipse.org/security/cve-assignement/-/issues/64>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-4949>
- exploit: <https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/281>
- other: <https://projects.eclipse.org/projects/technology.jgit/releases/7.2.1>
- other: <https://projects.eclipse.org/projects/technology.jgit/releases/7.1.1>
- other: <https://projects.eclipse.org/projects/technology.jgit/releases/7.0.1>
- other: <https://projects.eclipse.org/projects/technology.jgit/releases/6.10.1>
- other: <https://projects.eclipse.org/projects/technology.jgit/releases/5.13.4>
- other: <https://github.com/eclipse-jgit/jgit>
- other: <https://projects.eclipse.org/projects/technology.jgit/releases/5.13.5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-4949>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-vrpq-qp53-qv56> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-4949> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-4949>
