{"schemaVersion":4,"id":"CVE-2026-85250","aliases":[],"status":"published","duplicateOf":null,"title":"Apache Camel: Camel-XPath XML External Entity Processing and File Disclosure via the documentType=InputSource Option","description":"Improper Restriction of XML External Entity Reference vulnerability in Apache Camel XPath component.\n\nThis issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.\n\nWith 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.\n\nUpgrade 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.","dates":{"published":"2026-10-19T10:35:21.670Z","modified":"2026-10-19T16:50:38.120Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00755,"percentile":0.56486,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.052000000000000046,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00703},"history":[{"date":"2026-10-20T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00559,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00755,"percentile":0.56486}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00703,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00839,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00755,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00755,"percentile":0.56486}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference","description":"The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/611.html"}],"affected":[{"vendor":"apache software foundation","product":"apache camel","name":"Apache Camel","label":"apache camel","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.18.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.18.5","endInclusive":false}},{"text":"≥ 4.19.0, < 4.22.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.19.0","startInclusive":true,"end":"4.22.1","endInclusive":false}}],"versionsText":"≥ 4.0.0, < 4.18.5 | ≥ 4.19.0, < 4.22.1","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_camel"},{"vendor":"apache","product":"camel","name":"camel","label":"camel","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.18.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.18.5","endInclusive":false}},{"text":"≥ 4.19.0, < 4.22.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.19.0","startInclusive":true,"end":"4.22.1","endInclusive":false}}],"versionsText":"≥ 4.0.0, < 4.18.5 | ≥ 4.19.0, < 4.22.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-camel","label":"Apache Camel","category":"framework"}},"hubHref":"/vendor/apache/camel"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://camel.apache.org/security/CVE-2026-85250.html","label":"camel.apache.org/security/CVE-2026-85250.html","hostname":"camel.apache.org","tags":["Vendor Advisory","Mitigation","Patch"]},{"url":"https://issues.apache.org/jira/browse/CAMEL-24475","label":"issues.apache.org/jira/browse/CAMEL-24475","hostname":"issues.apache.org","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/apache/camel/pull/25683","label":"github.com/apache/camel/pull/25683","hostname":"github.com","tags":["Patch","Issue Tracking"]},{"url":"https://github.com/apache/camel/pull/25940","label":"github.com/apache/camel/pull/25940","hostname":"github.com","tags":["Patch","Issue Tracking"]},{"url":"https://github.com/apache/camel/pull/25942","label":"github.com/apache/camel/pull/25942","hostname":"github.com","tags":["Patch","Issue Tracking"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-19T10:35:21.670Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-19T16:50:38.120Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,1,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00755,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-19T16:50:38.120Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-19T16:50:38.120Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-10-19T16:50:01.891Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00755,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:46:49.902Z","stale":false,"partial":false}}