Skip to main content

Jgit CVE-2025-4949

MEDIUM
Improper Restriction of XML External Entity Reference (CWE-611)
2025-05-21 emo@eclipse.org
6.8
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS score of 6.8 (MEDIUM). Attack characteristics: network attack vector, high complexity, low privileges required, user interaction required. Public proof-of-concept exploit code is available. EPSS exploitation probability: 0.20%.

Exploit ScenarioDerived

A remote attacker could read arbitrary files or perform SSRF through XML processing by sending crafted requests to the affected application.

This Week Schedule remediation this week. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 28, 2026

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. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploitable. Public exploit code available and no vendor patch available.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Disable external entity processing in XML parsers, use JSON instead of XML where possible.

Affected Packages

maven org.eclipse.jgit:org.eclipse.jgit fix: 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

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is classified as XML External Entity (XXE) (CWE-611), which allows attackers to read arbitrary files or perform SSRF through XML processing. 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. Affected products include: Eclipse Jgit.

Know when Jgit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 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/S:N/AU:Y/R:U/V:D/RE:L/U:Green
SUSE 5.3 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Red Hat 4.8 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
PoC Detected
Jan 05, 2026 - 18:11 vuln.today
Public exploit code
CVE Published
May 21, 2025 - 07:16 nvd
MEDIUM 6.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Organizations using Eclipse JGit should be aware of notable risk from CVE-2025-4949, a XML external entity vulnerability rated CVSS 6.8. Exploitation could compromise the security of affected deployments. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: implement egress filtering, block metadata endpoints.

Threat Intelligence Overview

EPSS Score
0.2%
Top 58% exploitable
Exploit
POC
Public exploit code exists

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:eclipse:jgit:*:*:*:*:*:*:*:*
cpe:2.3:a:eclipse:jgit:*:*:*:*:*:*:*:*
cpe:2.3:a:eclipse:jgit:*:*:*:*:*:*:*:*
cpe:2.3:a:eclipse:jgit:*:*:*:*:*:*:*:*
cpe:2.3:a:eclipse:jgit:*:*:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP5 SUSE Linux Enterprise High Performance Computing 15 SP5 SUSE Linux Enterprise Module for Development Tools 15 SP5 SUSE Linux Enterprise Server 15 SP5 SUSE Linux Enterprise Server for SAP Applications 15 SP5 Fixed
SUSE Linux Enterprise Desktop 15 SP6 SUSE Linux Enterprise High Performance Computing 15 SP6 SUSE Linux Enterprise Module for Development Tools 15 SP6 SUSE Linux Enterprise Server 15 SP6 SUSE Linux Enterprise Server for SAP Applications 15 SP6 Fixed
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Development Tools 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
openSUSE Leap 15.6 Fixed
openSUSE Tumbleweed Fixed

References

Advisories & patches
ADVISORY https://access.redhat.com/errata/RHSA-2025:18028 ADVISORY https://access.redhat.com/errata/RHSA-2025:22187 ADVISORY https://access.redhat.com/errata/RHSA-2025:22188 ADVISORY https://access.redhat.com/errata/RHSA-2025:22190 ADVISORY https://access.redhat.com/errata/RHSA-2025:22773 ADVISORY https://access.redhat.com/errata/RHSA-2025:22775 ADVISORY https://access.redhat.com/errata/RHSA-2025:22777 ADVISORY https://access.redhat.com/errata/RHSA-2025:23482 ADVISORY https://access.redhat.com/errata/RHSA-2025:23485 ADVISORY https://access.redhat.com/errata/RHSA-2025:23486 ADVISORY https://access.redhat.com/errata/RHSA-2025:23487 ADVISORY https://access.redhat.com/errata/RHSA-2025:23488 ADVISORY https://access.redhat.com/errata/RHSA-2025:23489 ADVISORY https://access.redhat.com/errata/RHSA-2025:23490 ADVISORY https://access.redhat.com/errata/RHSA-2025:23491 ADVISORY https://access.redhat.com/errata/RHSA-2025:23492 ADVISORY https://access.redhat.com/errata/RHSA-2026:4915 ADVISORY https://access.redhat.com/errata/RHSA-2026:4916 ADVISORY https://access.redhat.com/errata/RHSA-2026:4917 ADVISORY https://access.redhat.com/errata/RHSA-2026:4924 ADVISORY https://access.redhat.com/errata/RHSA-2026:6011 ADVISORY https://gitlab.eclipse.org/security/cve-assignement/-/issues/64 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02762/ REF https://projects.eclipse.org/projects/technology.jgit/releases/5.13.4 REF https://projects.eclipse.org/projects/technology.jgit/releases/6.10.1 REF https://projects.eclipse.org/projects/technology.jgit/releases/7.0.1 REF https://projects.eclipse.org/projects/technology.jgit/releases/7.1.1 REF https://projects.eclipse.org/projects/technology.jgit/releases/7.2.1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy