CVE-2025-4949: XXE vulnerability in Eclipse JGit
Vulnerability summary
CVE-2025-4949 is a medium (CVSS 6.8) vulnerability in eclipse jgit. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 58% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 6Timeline
- 21-05-2025PublishedVulnerability first disclosed.
- 14-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
10 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.8MediumCVSS: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
- OSV · WolfiEcosystem advisory · calculated6.8MediumCVSS: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
- OSV · ChainguardEcosystem advisory · calculated6.8MediumCVSS: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
- OSV · MavenEcosystem advisory · calculated6.8MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
- NVDNIST6.8MediumCVSS: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
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:HDiffers
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.84%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.81% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (gitlab.eclipse.org)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-611Improper Restriction of XML External Entity ReferenceThe product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
- CWE-827Improper Control of Document Type DefinitionThe product does not restrict a reference to a Document Type Definition (DTD) to the intended control sphere. This might allow attackers to reference arbitrary DTDs, possibly causing the product to expose files, consume excessive system resources, or execute arbitrary http requests on behalf of the attacker.
Affected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard123 products
- apache-nifi-registry< 2.4.0-r1
- apache-nifi-registry-toolkit< 2.4.0-r1
- apicurio-registry< 3.0.7-r1
- apicurio-registry-nginx-config< 3.0.7-r1
- apicurio-registry-ui< 3.0.7-r1
Redhat51 products
- eap8-activemq-artemis< 0:2.40.0-3.redhat_00008.1.el8eap | < 0:2.40.0-3.redhat_00008.1.el9eap
- eap8-activemq-artemis-cli< 0:2.40.0-3.redhat_00008.1.el8eap | < 0:2.40.0-3.redhat_00008.1.el9eap
- eap8-activemq-artemis-commons< 0:2.40.0-3.redhat_00008.1.el8eap | < 0:2.40.0-3.redhat_00008.1.el9eap
- eap8-activemq-artemis-core-client< 0:2.40.0-3.redhat_00008.1.el8eap | < 0:2.40.0-3.redhat_00008.1.el9eap
- eap8-activemq-artemis-dto< 0:2.40.0-3.redhat_00008.1.el8eap | < 0:2.40.0-3.redhat_00008.1.el9eap
Wolfi20 products
- apache-nifi-registry< 2.4.0-r1
- apache-nifi-registry-toolkit< 2.4.0-r1
- apicurio-registry< 3.0.7-r1
- apicurio-registry-nginx-config< 3.0.7-r1
- apicurio-registry-ui< 3.0.7-r1
Debian1 product
- jgitAll versions (No fix recorded)
Eclipse1 product
- jgit< 5.13.4 | ≥ 6.0.0, < 6.10.1.202505221210 | ≥ 7.0.0, < 7.0.1.202505221510 | ≥ 7.1.0, < 7.1.1.202505221757 | ≥ 7.2.0, < 7.2.1.202505142326
Eclipse jgit1 product
- 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
Opensuse1 product
- eclipse-jgit&distro=openSUSE Leap 15.6< 5.11.0-150200.3.23.1
Org.eclipse.jgit1 product
- org.eclipse.jgit≥ 7.2.0.202503040940-r, < 7.2.1.202505142326-r | ≥ 7.1.0.202411261347-r, < 7.1.1.202505221757-r | ≥ 7.0.0.202409031743-r, < 7.0.1.202505221510-r | ≥ 6.1.0.202203080745-r, < 6.10.1.202505221210-r | ≥ 6.0.0.202110060947-m1, < 6.0.0.202111291000-r | < 5.13.4.202507202350-r
Ubuntu1 product
- jgitAll versions (No fix recorded)
9 vendors · 200 products · Showing 200 of 277
References
75 links- gitlab.eclipse.org/security/cve-assignement/-/issues/64Issue TrackingARTICLEREPORTWEBVendor Advisory
Show all 75 references
- github.com/eclipse-jgit/jgitPACKAGE