Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.eclipse.jgit/org.eclipse.jgit
  4. ›
  5. CVE-2025-4949

CVE-2025-4949: Eclipse JGit XML External Entity (XXE) Vulnerability

May 21, 2025 (updated November 27, 2025)

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.

References

  • github.com/advisories/GHSA-vrpq-qp53-qv56
  • github.com/eclipse-jgit/jgit
  • gitlab.eclipse.org/security/cve-assignement/-/issues/64
  • gitlab.eclipse.org/security/vulnerability-reports/-/issues/281
  • nvd.nist.gov/vuln/detail/CVE-2025-4949
  • projects.eclipse.org/projects/technology.jgit/releases/5.13.4
  • projects.eclipse.org/projects/technology.jgit/releases/6.10.1
  • projects.eclipse.org/projects/technology.jgit/releases/7.0.1
  • projects.eclipse.org/projects/technology.jgit/releases/7.1.1
  • projects.eclipse.org/projects/technology.jgit/releases/7.2.1

Code Behaviors & Features

Detect and mitigate CVE-2025-4949 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.2.0.202503040940-r before 7.2.1.202505142326-r, all versions starting from 7.1.0.202411261347-r before 7.1.1.202505221757-r, all versions starting from 7.0.0.202409031743-r before 7.0.1.202505221510-r, all versions starting from 6.1.0.202203080745-r before 6.10.1.202505221210-r, all versions starting from 5.13.5.202508271544-r before 6.0.0.202111291000-r, all versions before 5.13.4.202507202350-r

Fixed versions

  • 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

Solution

Upgrade to versions 5.13.4.202507202350-r, 6.0.0.202111291000-r, 6.10.1.202505221210-r, 7.0.1.202505221510-r, 7.1.1.202505221757-r, 7.2.1.202505142326-r or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/org.eclipse.jgit/org.eclipse.jgit/CVE-2025-4949.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 08 Jan 2026 12:20:54 +0000.