critical · 9.8 Patched

Apache CXF has Improper Restriction of XML External Entity Reference

CVE-2026-49875 · GHSA-xw5h-cmh3-8j6j · published 12 Jun 2026

How serious is it

  • Severity: critical, CVSS score 9.8 out of 10.
  • No exploit prediction (EPSS) score yet.
  • Not on the CISA list of exploited vulnerabilities.
  • No public exploit in Exploit-DB.

Is your app affected by CVE-2026-49875?

Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.

Who is affected

  • org.apache.cxf:cxf-core (Maven) >= 4.2.0, < 4.2.2
  • org.apache.cxf:cxf-core (Maven) >= 4.0.0, < 4.1.7
  • org.apache.cxf:cxf-core (Maven) < 3.6.12

How to check

  1. Look for org.apache.cxf:cxf-core in your lockfile and compare its version with the range above.
  2. Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.

How to fix

Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
  1. On >= 4.2.0, < 4.2.2: Upgrade org.apache.cxf:cxf-core to 4.2.2 or later, commit the lockfile and redeploy.
  2. On >= 4.0.0, < 4.1.7: Upgrade org.apache.cxf:cxf-core to 4.1.7 or later, commit the lockfile and redeploy.
  3. On < 3.6.12: Upgrade org.apache.cxf:cxf-core to 3.6.12 or later, commit the lockfile and redeploy.
  4. If a vulnerable version was live, check your logs and rotate the secrets that server could read.

The advisory

Apache CXF's EndpointReferenceUtils and W3CMultiSchemaFactory classes construct a SAXParserFactory without the necessary JAXP hardening configurations, enabling out-of-band (OOB) external entity resolution. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fix this issue.

Check your whole app

Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.

References

Merged from GitHub Advisory Database, OSV. Last updated 27 Oct 2026. All vulnerabilities · RSS · JSON