CVE-2025-4949 XXE vulnerability in Eclipse JGit
Attackers can exploit XML parsing flaws in Eclipse JGit to disclose sensitive information or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-4949?
CVE-2025-4949 is a medium-severity vulnerability in Eclipse JGit, published on 21 May 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2025-4949?
12 open source packages ship an affected version, including org.eclipse.jgit:org.eclipse.jgit. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.eclipse.jgit:org.eclipse.jgit Maven | All versions | 5.13.4.202507202350-r |
org.eclipse.jgit:org.eclipse.jgit Maven | All versions | 5.13.4.202507202350-r |
org.eclipse.jgit:org.eclipse.jgit Maven | From 6.0.0.202110060947-m1 | 6.0.0.202111291000-r |
org.eclipse.jgit:org.eclipse.jgit Maven | From 6.0.0.202110060947-m1 | 6.0.0.202111291000-r |
org.eclipse.jgit:org.eclipse.jgit Maven | From 6.1.0.202203080745-r | 6.10.1.202505221210-r |
org.eclipse.jgit:org.eclipse.jgit Maven | From 6.1.0.202203080745-r | 6.10.1.202505221210-r |
6 more packages
org.eclipse.jgit:org.eclipse.jgit Maven | From 7.0.0.202409031743-r | 7.0.1.202505221510-r |
org.eclipse.jgit:org.eclipse.jgit Maven | From 7.0.0.202409031743-r | 7.0.1.202505221510-r |
org.eclipse.jgit:org.eclipse.jgit Maven | From 7.1.0.202411261347-r | 7.1.1.202505221757-r |
org.eclipse.jgit:org.eclipse.jgit Maven | From 7.1.0.202411261347-r | 7.1.1.202505221757-r |
org.eclipse.jgit:org.eclipse.jgit Maven | From 7.2.0.202503040940-r | 7.2.1.202505142326-r |
org.eclipse.jgit:org.eclipse.jgit Maven | From 7.2.0.202503040940-r | 7.2.1.202505142326-r |
Linux distribution packages (28)
eap8-angus-activation Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:2.0.2-2.redhat_00002.1.el8eap |
eap8-apache-commons-io Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:2.16.1-2.redhat_00002.1.el8eap |
eap8-atinject Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:2.0.1-5.redhat_00007.1.el8eap |
eap8-bouncycastle Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:1.82.0-1.redhat_00001.1.el8eap |
eap8-bouncycastle-jmail Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:1.82.0-1.redhat_00001.1.el8eap |
eap8-bouncycastle-pg Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:1.82.0-1.redhat_00001.1.el8eap |
eap8-bouncycastle-pkix Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:1.82.0-1.redhat_00001.1.el8eap |
eap8-bouncycastle-prov Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:1.82.0-1.redhat_00001.1.el8eap |
eap8-bouncycastle-util Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:1.82.0-1.redhat_00001.1.el8eap |
eap8-eap-product-conf-parent Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:800.11.0-1.GA_redhat_00001.1.el8eap |
eap8-eap-product-conf-wildfly-ee-feature-pack Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:800.11.0-1.GA_redhat_00001.1.el8eap |
eap8-eclipse-jgit Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:6.10.1.202505221210-1.r_redhat_00002.1.el8eap |
eap8-hal-console Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:3.6.27-1.Final_redhat_00001.1.el8eap |
eap8-hibernate Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:6.2.46-1.Final_redhat_00001.1.el8eap |
eap8-hibernate-core Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:6.2.46-1.Final_redhat_00001.1.el8eap |
eap8-hibernate-envers Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:6.2.46-1.Final_redhat_00001.1.el8eap |
eap8-hibernate-validator Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:8.0.2-1.Final_redhat_00001.1.el8eap |
eap8-hibernate-validator-cdi Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:8.0.2-1.Final_redhat_00001.1.el8eap |
eap8-httpcomponents-client Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:4.5.14-5.redhat_00016.1.el8eap |
eap8-httpcomponents-core Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:4.4.16-6.redhat_00011.1.el8eap |
eap8-installation-manager-api Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:1.0.3-1.Final_redhat_00001.1.el8eap |
eap8-istack-commons-runtime Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:4.1.2-2.redhat_00003.1.el8eap |
eap8-istack-commons-tools Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:4.1.2-2.redhat_00003.1.el8eap |
eap8-jakarta-activation Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:2.1.3-2.redhat_00002.1.el8eap |
eap8-jakarta-annotation-api Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:2.1.1-5.redhat_00005.1.el8eap |
eap8-jakarta-enterprise-concurrent Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:3.0.2-1.redhat_00001.1.el8eap |
eap8-jakarta-interceptor-api Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:2.1.0-5.redhat_00003.1.el8eap |
eap8-jakarta-mail Red Hat:jboss_enterprise_application_platform:8.0::el8 | All versions | 0:2.1.3-3.redhat_00003.1.el8eap |
Products include Eclipse Jgit.
How do I fix CVE-2025-4949?
Upgrade org.eclipse.jgit:org.eclipse.jgit to a fixed version for your release line: 5.13.4.202507202350-r, 6.0.0.202111291000-r, 6.10.1.202505221210-r or 7.0.1.202505221510-r.
Is CVE-2025-4949 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4949 exists.
Other vulnerabilities in Eclipse JGit
Sources
Also known as CLSA-2026-1770077339, CLSA-2026-1771027774, DEBIAN-CVE-2025-4949, ECHO-6d20-537b-ef6e, GHSA-vrpq-qp53-qv56, MINI-232r-jh65-2rp7 and 8 more.