WaratekVRT Sign in

CVE-2025-4949 Eclipse JGit

Affected softwareEclipse JGit
Severity6.8 Medium CVSS 4.0 2 scores
Fixed in7.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
WeaknessXML external entity (XXE) (CWE-611)
Published21 May 2025
Updated21 Oct 2026

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.

CWE-827

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: partial.
  • Indexed PoC none indexed
  • EPSS 0.84% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated AI triage
  • Record active
Decided by A researcher's recorded decision for this specific CVE
Finding An AI triage run found this CVE protected by the ARMR XXE rule.

Waratek research note

written 2026-11-13

Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.

Comments

Rule Name: XXE rule

XXE in JGit's ManifestParser.read() and AmazonS3 bucket-listing parser, which accept a DOCTYPE in attacker-supplied manifests or S3 responses; the Marshal xxe() rule checks the XML each parser reads through InputSource.getByteStream() and blocks external entity URIs and oversized entity expansion.

How to mitigate CVE-2025-4949

Upgrade Eclipse JGit to a release that fixes it: 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 or 5.13.4.202507202350-r. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.8 MEDIUM v4.0 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 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 4.0 6.8 MEDIUM 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 emo@eclipse.org Secondary published
CVSS 3.1 5.3 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2026 ↗ CPU 2026-Q4 Oracle SQL Developer / Infrastructure (Eclipse JGit) (23.1.1-26.1.0)
Oracle Critical Patch Update January 2026 ↗ CPU 2026-Q1 Oracle Fusion Middleware / Oracle Database Client for Fusion Middleware (Eclipse JGit) (14.1.2.0.0)
Oracle Fusion Middleware / Security (Eclipse JGit) (14.1.2.0.0)
Oracle Critical Patch Update October 2025 ↗ CPU 2025-Q4 Oracle Database Server / SQLcl (jgit) (23.4-23.9)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Database Server SQLcl (jgit) 23.4-23.9
Oracle Fusion Middleware Oracle Database Client for Fusion Middleware (Eclipse JGit) 14.1.2.0.0 14.1.2.0.0
Oracle Fusion Middleware Security (Eclipse JGit) 14.1.2.0.0 14.1.2.0.0
Oracle SQL Developer Infrastructure (Eclipse JGit) 23.1.1-26.1.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.eclipse.jgit:org.eclipse.jgit 7.2.0.202503040940-r 7.2.1.202505142326-r unbounded
org.eclipse.jgit:org.eclipse.jgit 7.1.0.202411261347-r 7.1.1.202505221757-r unbounded
org.eclipse.jgit:org.eclipse.jgit 7.0.0.202409031743-r 7.0.1.202505221510-r unbounded
org.eclipse.jgit:org.eclipse.jgit 6.1.0.202203080745-r 6.10.1.202505221210-r unbounded
org.eclipse.jgit:org.eclipse.jgit 6.0.0.202110060947-m1 6.0.0.202111291000-r unbounded
org.eclipse.jgit:org.eclipse.jgit 0 5.13.4.202507202350-r unbounded

Products and versions

2 products, 11 version entries
SourceVendorProductSchemeAffected versions
nvd eclipse jgit generic < 5.13.4 · ≥ 6.0.0 and < 6.10.1.99999 · ≥ 7.0.0 and < 7.0.1.99999 · ≥ 7.1.0 and < 7.1.1.99999 · ≥ 7.2.0 and < 7.2.1.99999
osv org.eclipse.jgit org.eclipse.jgit generic < 5.13.4.99999 · ≥ 6.0.0.99999 and < 6.0.0.99999 · ≥ 6.1.0.99999 and < 6.10.1.99999 · ≥ 7.0.0.99999 and < 7.0.1.99999 · ≥ 7.1.0.99999 and < 7.1.1.99999 · ≥ 7.2.0.99999 and < 7.2.1.99999

References

URLTags
https://github.com/eclipse-jgit/jgit PACKAGE
https://gitlab.eclipse.org/security/cve-assignement/-/issues/64 WEB
https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/281 WEB
https://projects.eclipse.org/projects/technology.jgit/releases/5.13.4 WEB
https://projects.eclipse.org/projects/technology.jgit/releases/5.13.5 WEB
https://projects.eclipse.org/projects/technology.jgit/releases/6.10.1 WEB
https://projects.eclipse.org/projects/technology.jgit/releases/7.0.1 WEB
https://projects.eclipse.org/projects/technology.jgit/releases/7.1.1 WEB
https://projects.eclipse.org/projects/technology.jgit/releases/7.2.1 WEB

Timeline

Published2025-05-21By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.
Last VRT activity2026-10-21Most recent commit touching this CVE's classification, patch or rule file.
Classification created2026-11-13First commit adding this CVE's research note.