{"schema":"threatline.record/2","record":{"id":"CVE-2026-90885","aliases":[],"summary":"Apache Camel: Camel-Saxon XML External Entity Processing - XQueryBuilder Parsed a Message Body That Was Already a javax.xml.transform.Source With Saxon's Default Parser Settings, so an External Entity Declared in That Body Was Resolved","details":"Improper Restriction of XML External Entity Reference vulnerability in Apache Camel Saxon component.\n\n\n\nThis issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.2.\n\n\n\nXQueryBuilder in camel-saxon, which evaluates expressions for the xquery language and the xquery component, built its default Saxon Configuration with parse options that set only a whitespace stripping rule, leaving the XML parser at its defaults, under which a DOCTYPE declaration is accepted and external entities are resolved. A message body of type String or byte[], or any body read as an InputStream, is first turned into a javax.xml.transform.Source by Camel's own XML type converters, which configure the parser against external entities, so those bodies were not affected. A body that was already a Source, however, was handed to Saxon unchanged, and when that Source still had to be parsed, as a stream-based Source does, Saxon parsed it with that Configuration, bypassing the protection applied to the other body types. Such a body arises, for example, after a route converts the message with convertBodyTo(Source.class), or when a component or processor earlier in the route sets the body to a stream-based Source. A DOCTYPE with an external subset, or an external entity, declared in that body was therefore resolved and expanded into the document the expression was evaluated against. An external sender whose XML reaches an XQuery expression or an xquery endpoint in that form could read files readable by the Camel process and cause the process to issue requests to hosts the document names. No non-default option is required, since the default Configuration is used whenever the route does not supply one of its own.\n\n\n\nUsers are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and earlier, as well as the 4.15.x to 4.17.x and 4.19.x to 4.21.x release lines, reached end of life before this issue was resolved and will not receive a fix, so deployments on them must move to a supported release. For deployments that cannot upgrade immediately, do not evaluate XQuery over a message body that is already a javax.xml.transform.Source when that body carries XML from an untrusted sender, or set the configuration option of the xquery endpoint or language to a Saxon Configuration whose parse options refuse a DOCTYPE declaration and disable external entities and external DTD loading, which is what the fixed releases now apply by default.","categories":["Unclassified"],"product":"Apache Camel","vendor":"Apache Software Foundation","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-90885","source_modified_at":"2026-10-26T15:35:49.414Z","fetched_at":"2026-10-26T19:10:57.178988Z","product":"Apache Camel","vendor":"Apache Software Foundation","versions":[{"status":"affected","version":"4.0.0","lessThan":"4.18.5","versionType":"maven"},{"status":"affected","version":"4.19.0","lessThan":"4.22.2","versionType":"maven"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-90885","source_modified_at":"2026-10-26T15:35:49.414Z","fetched_at":"2026-10-26T19:10:57.178988Z","package":{"name":"Apache Camel","ecosystem":null},"version":"4.18.5","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-90885","source_modified_at":"2026-10-26T15:35:49.414Z","fetched_at":"2026-10-26T19:10:57.178988Z","package":{"name":"Apache Camel","ecosystem":null},"version":"4.22.2","basis":"first unaffected version stated in the CVE record"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-26T14:47:03.155Z","modified_at":"2026-10-26T15:35:49.414Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-90885","fetched_at":"2026-10-26T19:10:57.178988Z","source_modified_at":"2026-10-26T15:35:49.414Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://camel.apache.org/security/CVE-2026-90885.html","tags":["vendor-advisory"]},{"source":"CVE List","url":"https://issues.apache.org/jira/browse/CAMEL-24691","tags":["issue-tracking"]},{"source":"CVE List","url":"https://github.com/apache/camel/pull/26344","tags":["patch"]},{"source":"CVE List","url":"https://github.com/apache/camel/pull/26728","tags":["patch"]},{"source":"CVE List","url":"https://github.com/apache/camel/pull/26730","tags":["patch"]},{"source":"CVE List","url":"https://camel.apache.org/security/CVE-2026-85250.html","tags":["related"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","assessed_at":"2026-10-26T15:29:02.992870Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-26T15:35:49.414Z","content_hash":"d96b1b6ab4ddaade8790e13e54696bba5f7f2105829292ee58fa2582d84301ff"}}
