Live threats

All CVEs / Eclipse

CVE-2025-4949Eclipse Jgit

Medium 6.8

Priority
41
CVSS 4.0
6.8
EPSS
—
Auth required
Yes
Published
May 21, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611, CWE-827
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:D/RE:L/U:Green

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jgit.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.eclipse.jgit:org.eclipse.jgit ≥ 7.2.0.202503040940-r < 7.2.1.202505142326-r 7.2.1.202505142326-r —
Maven org.eclipse.jgit:org.eclipse.jgit ≥ 7.1.0.202411261347-r < 7.1.1.202505221757-r 7.1.1.202505221757-r —
Maven org.eclipse.jgit:org.eclipse.jgit ≥ 7.0.0.202409031743-r < 7.0.1.202505221510-r 7.0.1.202505221510-r —
Maven org.eclipse.jgit:org.eclipse.jgit ≥ 6.1.0.202203080745-r < 6.10.1.202505221210-r 6.10.1.202505221210-r —
Maven org.eclipse.jgit:org.eclipse.jgit ≥ 6.0.0.202110060947-m1 < 6.0.0.202111291000-r 6.0.0.202111291000-r —
Maven org.eclipse.jgit:org.eclipse.jgit < 5.13.4.202507202350-r 5.13.4.202507202350-r —

Per OSV / GitHub Advisories (GHSA-vrpq-qp53-qv56). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
eclipsejgit< 5.13.4
eclipsejgit≥ 6.0.0 < 6.10.1.202505221210
eclipsejgit≥ 7.0.0 < 7.0.1.202505221510
eclipsejgit≥ 7.1.0 < 7.1.1.202505221757
eclipsejgit≥ 7.2.0 < 7.2.1.202505142326

Official advisories

Also: Red Hat (+3)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.