Home / Apache Software Foundation / Apache Camel / CVE-2026-85250
CVE-2026-85250: is it exploited, and which versions of Apache Software Foundation Apache Camel are affected and fixed?
CVE-2026-85250 is a XML external entity (XXE) vulnerability in Apache Software Foundation Apache Camel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: Apache Camel from 4.0.0 before 4.18.5 and Apache Camel from 4.19.0 before 4.22.1 (CVE record by apache). Fixed in 4.18.5, 4.22.1 and 4.23.0 (CVE record by apache). Severity: High (7.5, CVSS 3.1, from apache).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-85250?
Apache Camel: Camel-XPath XML External Entity Processing and File Disclosure via the documentType=InputSource Option
Improper Restriction of XML External Entity Reference vulnerability in Apache Camel XPath component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. With documentType set to InputSource, XPathBuilder handed the payload straight to javax.xml.xpath, which builds a DocumentBuilder of its own using the JDK defaults. The hardening applied to Camel's default document type was therefore bypassed: a DOCTYPE declaration that is refused on the default type was accepted here, and the external entity it declared was resolved and expanded into the evaluated document. An external sender whose XML reaches such an expression could read files readable by the Camel process and cause the process to issue requests to hosts it names. The two document types disagreeing on parser configuration is what made this reachable, since a deployment choosing InputSource for streaming reasons had no indication it was also choosing a weaker parser. Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. The InputSource document type now goes through the same hardened parser as the default type, so a DOCTYPE is refused. Note that it also shares that type's documented escape hatch: the same DocumentBuilderFactory system properties that relax the default type relax this one, so a deployment that has set them remains unprotected by design. For deployments that cannot upgrade immediately, do not use documentType=InputSource on expressions evaluated over untrusted XML; the default document type already refuses a DOCTYPE.
From the CVE record by apache, last updated October 19, 2026, 16:50 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Camel org.apache.camel:camel-xpath | from 4.0.0 before 4.18.5 from 4.19.0 before 4.22.1 | 4.18.5, 4.22.1, 4.23.0 |
As the CVE record by apache states it, last updated October 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | camel | from 4.0.0 before 4.18.5 | application |
| apache | camel | from 4.19.0 before 4.22.1 | application |
NVD analysis (status Analyzed), last modified November 3, 2026, 21:35 UTC.
How severe is CVE-2026-85250?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | apache |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-85250 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 19, 2026)
- EPSS
- 0.76% probability of exploitation activity in the next 30 days, percentile 56.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
How do I fix it? (from the CVE record)
Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. The InputSource document type now goes through the same hardened parser as the default type, so a DOCTYPE is refused. Note that it also shares that type's documented escape hatch: the same DocumentBuilderFactory system properties that relax the default type relax this one, so a deployment that has set them remains unprotected by design.
Is there a workaround? (from the CVE record)
For deployments that cannot upgrade immediately, do not use documentType=InputSource on expressions evaluated over untrusted XML; the default document type already refuses a DOCTYPE.
Where are the vendor advisories and references?
- Apache Camel Security Advisory - CVE-2026-85250 vendor-advisory
- CAMEL-24475 issue-tracking
- Fix on main, released in 4.23.0 (commit 1ead256f1bfcef36c2572a88809bcd7547bdc111) patch
- Backport to camel-4.22.x, released in 4.22.1 (commit 260989268cbc6d258b1fcba63770be8ebbec40cb) patch
- Backport to camel-4.18.x, released in 4.18.5 (commit af1efbcccf5882b1ef0094db718972da3190e7e9) patch
Who found and reported it?
- Claude Security (finder)
- Andrea Cosentino (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 3, 2026
- Published
- October 19, 2026, 10:35 UTC
- CVE record updated
- October 19, 2026, 16:50 UTC by apache
- NVD
- Analyzed, last modified November 3, 2026, 21:35 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Camel?
- Dec 3, 2026CVE-2026-135919 Apache Software Foundation Apache Camel: exposure of Data Element to Wrong Session
- Dec 3, 2026CVE-2026-135918 Apache Software Foundation Apache Camel: exposure of Data Element to Wrong Session
- Dec 3, 2026CVE-2026-135917 Apache Software Foundation Apache Camel: unintended Proxy or Intermediary
- Dec 3, 2026CVE-2026-135916 Apache Software Foundation Apache Camel: improper Neutralization of CRLF Sequences
- Dec 3, 2026CVE-2026-135915 Apache Software Foundation Apache Camel: authentication bypass (improper authentication)
- Dec 3, 2026CVE-2026-133005 Apache Software Foundation Apache Camel: deserialization of untrusted data
- Dec 3, 2026CVE-2026-132829 Apache Software Foundation Apache Camel: improper certificate validation
- Dec 3, 2026CVE-2026-132828 Apache Software Foundation Apache Camel: sensitive data sent in clear text
Questions about CVE-2026-85250
Is CVE-2026-85250 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.76% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Camel are affected by CVE-2026-85250?
Apache Camel from 4.0.0 before 4.18.5 and Apache Camel from 4.19.0 before 4.22.1, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2026-85250?
4.18.5, 4.22.1 and 4.23.0, per the CVE record by apache. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-85250?
High (7.5, CVSS 3.1, from apache). The severity table above shows each score with its source.
Where is the official record of CVE-2026-85250?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.