XML External Entity injection in Apache Camel - CVE-2026-85250
Published: October 23, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose files readable by the Camel process and cause it to issue requests to attacker-specified hosts.
The vulnerability exists due to improper restriction of XML external entity references in the Apache Camel XPath component's XPathBuilder when processing untrusted XML with documentType=InputSource. A remote attacker can submit XML containing a DOCTYPE declaration with an external entity that is resolved and expanded by a JDK-default parser, bypassing the default document type's parser hardening, to disclose files readable by the Camel process or cause requests to attacker-specified hosts.