# CVE-2025-4949: Eclipse JGit XML External Entity (XXE) Vulnerability

Source: https://junglewise.ai/threats/cve-2025-4949-eclipse-jgit-xml-external-entity-xxe-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-05-21  
License: CC BY 4.0 with a link back

CVE-2025-4949 · Severity: medium · CVSS 4 · Published 2025-05-21

Eclipse JGit XML External Entity (XXE) Vulnerability

Technologies: [org.eclipse.jgit:org.eclipse.jgit (Maven)](https://junglewise.ai/threats/technologies/org-eclipse-jgit-org-eclipse-jgit). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-4949 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-4949 being exploited in the wild.

**How severe is CVE-2025-4949?** Medium severity, with a CVSS score of 4, published 21 May 2025.

**Which products and versions are affected?** org.eclipse.jgit:org.eclipse.jgit (Maven) ECOSYSTEM:introduced=7.2.0.202503040940-r,fixed=7.2.1.202505142326-r.

**Is there a fix for CVE-2025-4949?** Yes. org.eclipse.jgit:org.eclipse.jgit (Maven): upgrade to 7.2.1.202505142326-r or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-4949?** Check whether you run org.eclipse.jgit:org.eclipse.jgit (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.eclipse.jgit:org.eclipse.jgit (Maven): upgrade to 7.2.1.202505142326-r or later

  ```sh
  # set org.eclipse.jgit:org.eclipse.jgit to 7.2.1.202505142326-r in your pom.xml or build.gradle
  ```


## Affected products

- org.eclipse.jgit:org.eclipse.jgit (Maven) ECOSYSTEM:introduced=7.2.0.202503040940-r,fixed=7.2.1.202505142326-r

## Identifiers

- CVE-2025-4949
- GHSA-vrpq-qp53-qv56

## Related threats

- [Arbitrary File Overwrite in Eclipse JGit](https://junglewise.ai/threats/cve-2023-4759-arbitrary-file-overwrite-in-eclipse-jgit)
- [JGit Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2014-9390-jgit-improper-input-validation-vulnerability)
