CVE-2025-4949: XXE vulnerability in Eclipse JGit

Published May 21, 2025
·
Updated

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 Software

16 affected componentsFixes available
Eclipse JGit<=7.2.0.202503040940-r
maven/org.eclipse.jgit:org.eclipse.jgit<6.10.1.202505221210-r
6.10.1.202505221210-r
maven/org.eclipse.jgit:org.eclipse.jgit>=7.0.0.202409031743-r<7.0.1.202505221510-r
7.0.1.202505221510-r
maven/org.eclipse.jgit:org.eclipse.jgit>=7.1.0.202411261347-r<7.1.1.202505221757-r
7.1.1.202505221757-r
maven/org.eclipse.jgit:org.eclipse.jgit>=7.2.0.202503040940-r<7.2.1.202505142326-r
7.2.1.202505142326-r
Eclipse JGit<5.13.4
Eclipse JGit>=6.0.0<6.10.1.202505221210
Eclipse JGit>=7.0.0<7.0.1.202505221510
Eclipse JGit>=7.1.0<7.1.1.202505221757
Eclipse JGit>=7.2.0<7.2.1.202505142326
IBM Cloud Pak System<=2.3.4.0
IBM Cloud Pak System<=2.3.4.1 2.3.4.1 ifix1
IBM Cloud Pak System<=2.3.5.0
IBM Cloud Pak System<=2.3.6.0
IBM OS Image for Red Hat Linux Systems<=4.0.4.0 4.0.5.0 4.0.6.0 4.0.7.0
IBM OS Image for Red Hat Linux Systems<=5.0.0.0 5.0.1.0

Event History

May 21, 2025
CVE Published
via MITRE·06:47 AM
Data Sourced
via MITRE·06:47 AM
DescriptionWeakness
Data Sourced
via Red Hat·07:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
Affected Software
Advisory Published
via GitHub·09:31 PM
Jan 30, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
May 20, 57433
Event
via FIRST·11:44 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-4949?

CVE-2025-4949 is classified as a high-severity vulnerability affecting Eclipse JGit up to version 7.2.0.202503040940-r.

2

How do I fix CVE-2025-4949?

To fix CVE-2025-4949, upgrade Eclipse JGit to version 7.2.1 or later.

3

What components are affected by CVE-2025-4949?

CVE-2025-4949 affects the ManifestParser class used by the repo command and the AmazonS3 class for the amazons3 git transport protocol.

4

What risks does CVE-2025-4949 pose?

CVE-2025-4949 poses risks related to XML External Entity (XXE) vulnerabilities, potentially allowing unauthorized data exposure.

5

Is there a workaround for CVE-2025-4949?

There are no officially documented workarounds for CVE-2025-4949, so upgrading to a patched version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203