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

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). 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
    # 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.