cve.bz

CVE-2025-4949 eclipse jgit

6.8 mediumExploit referenceEPSS 0.9%Fix available

Medium (6.8) in eclipse jgit. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in org.eclipse.jgit:org.eclipse.jgit 5.13.4.202507202350-r, 6.0.0.202111291000-r, 6.10.1.202505221210-r.

On this page
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.

Severity

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/S:N/AU:Y/R:U/V:D/RE:L/U:Green

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
EPSS
0.9% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-05-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-611 Improper Restriction of XML External Entity Reference
CWE-827 Improper Control of Document Type Definition
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-4949 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-4949?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-4949?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-4949 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Eclipse JGitfrom 7.2.0 before 7.2.1.202505142326-r
Eclipse JGitfrom 7.1.0 before 7.1.1.202505221757-r
Eclipse JGitfrom 7.0.0 before 7.0.1.202505221510-r
Eclipse JGitbefore 5.13.4.202507202350-r
Eclipse JGitfrom 6.0.0 before 6.10.1.202505221210-r

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vrpq-qp53-qv56Mavenorg.eclipse.jgit:org.eclipse.jgit>=7.2.0.202503040940-r <7.2.1.202505142326-r7.2.1.202505142326-r
GHSA-vrpq-qp53-qv56Mavenorg.eclipse.jgit:org.eclipse.jgit>=7.1.0.202411261347-r <7.1.1.202505221757-r7.1.1.202505221757-r
GHSA-vrpq-qp53-qv56Mavenorg.eclipse.jgit:org.eclipse.jgit>=7.0.0.202409031743-r <7.0.1.202505221510-r7.0.1.202505221510-r
GHSA-vrpq-qp53-qv56Mavenorg.eclipse.jgit:org.eclipse.jgit>=6.1.0.202203080745-r <6.10.1.202505221210-r6.10.1.202505221210-r
GHSA-vrpq-qp53-qv56Mavenorg.eclipse.jgit:org.eclipse.jgit>=6.0.0.202110060947-m1 <6.0.0.202111291000-r6.0.0.202111291000-r
GHSA-vrpq-qp53-qv56Mavenorg.eclipse.jgit:org.eclipse.jgit<5.13.4.202507202350-r5.13.4.202507202350-r

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13jgitno fix listedDEBIAN-CVE-2025-4949
Debian14jgit7.7.1-1DEBIAN-CVE-2025-4949
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morejgitno fix listedUBUNTU-CVE-2025-4949
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-angus-activation0:2.0.2-2.redhat_00002.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-apache-commons-io0:2.16.1-2.redhat_00002.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-atinject0:2.0.1-5.redhat_00007.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-bouncycastle, eap8-bouncycastle-pg, eap8-bouncycastle-pkix and 3 more0:1.82.0-1.redhat_00001.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-eap-product-conf-parent, eap8-eap-product-conf-wildfly-ee-feature-pack0:800.11.0-1.GA_redhat_00001.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-eclipse-jgit0:6.10.1.202505221210-1.r_redhat_00002.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-hal-console0:3.6.27-1.Final_redhat_00001.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-hibernate, eap8-hibernate-core, eap8-hibernate-envers0:6.2.46-1.Final_redhat_00001.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-hibernate-validator, eap8-hibernate-validator-cdi0:8.0.2-1.Final_redhat_00001.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-httpcomponents-client0:4.5.14-5.redhat_00016.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-httpcomponents-core0:4.4.16-6.redhat_00011.1.el8eapRHSA-2025:22773
Red Hatjboss_enterprise_application_platform:8.0::el8eap8-installation-manager-api0:1.0.3-1.Final_redhat_00001.1.el8eapRHSA-2025:22773
159 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7jgit5.11.0-150200.3.23.1SUSE-SU-2025:02762-1
openSUSELeap 15.6eclipse-jgit5.11.0-150200.3.23.1SUSE-SU-2025:02762-1
openSUSETumbleweedjgit5.11.0-2.1openSUSE-SU-2025:15232-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat products. A flaw in Eclipse JGit allows for XML External Entity (XXE) attacks when parsing specially crafted XML files. This can lead to local denial of service in affected Red Hat products that utilize JGit's ManifestParser or AmazonS3 class for git transport. The current 9.8 rating by NVD assumes a default, server-side exploitation path. However, the vulnerability resides in the experimental AmazonS3 transport class within Eclipse JGit, which is not enabled by default and requires non-standard configuration (Attack Complexity: High). Furthermore, exploitation typically occurs via client-side tools (e.g., repo) requiring active user participation (User Interaction: Required), limiting the primary risk to local Denial of Service rather than remote, unauthenticated compromise (Availability: High).

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4.10.7 for Spring Boot 3.4.10org.eclipse.jgitFixed 2025-10-14RHSA-2025:18028
Red Hat JBoss Enterprise Application Platformorg.eclipse.jgit/org.eclipse.jgit:6.10.1.202505221210-r-redhat-00002Fixed 2025-11-26RHSA-2025:22190
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7eap7-eclipse-jgit-0:5.13.5.202508271544-1.r_redhat_00001.1.el7eapFixed 2026-03-30RHSA-2026:6011
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7eap7-wildfly-0:7.3.17-5.GA_redhat_00006.1.el7eapFixed 2026-03-30RHSA-2026:6011
Red Hat JBoss Enterprise Application Platform 7.4.24org.eclipse.jgit/org.eclipse.jgit:5.13.5.202508271544-r-redhat-00001Fixed 2026-03-18RHSA-2026:4924
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-eclipse-jgit-0:5.13.5.202508271544-2.r_redhat_00001.1.el7eapFixed 2026-03-18RHSA-2026:4915
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7eap7-wildfly-0:7.4.24-4.GA_redhat_00002.1.el7eapFixed 2026-03-18RHSA-2026:4915
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 8eap7-eclipse-jgit-0:5.13.5.202508271544-2.r_redhat_00001.1.el8eapFixed 2026-03-18RHSA-2026:4916
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 8eap7-wildfly-0:7.4.24-4.GA_redhat_00002.1.el8eapFixed 2026-03-18RHSA-2026:4916
Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 9eap7-eclipse-jgit-0:5.13.5.202508271544-2.r_redhat_00001.1.el9eapFixed 2026-03-18RHSA-2026:4917
A-MQ Clients 2org.eclipse.jgitAffected
Cryostat 3org.eclipse.jgitAffected
Cryostat 4org.eclipse.jgitNot affected
Logging Subsystem for Red Hat OpenShiftorg.eclipse.jgitAffected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
Red Hat AMQ Broker 7org.eclipse.jgitNot affected
Red Hat build of Apicurio Registry 2org.eclipse.jgitAffected
Red Hat build of Apicurio Registry 3org.eclipse.jgitAffected
Red Hat build of OptaPlanner 8org.eclipse.jgitNot affected
Red Hat Data Grid 8org.eclipse.jgitNot affected
163 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-4949.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON