XML External Entity injection in Apache Camel - CVE-2026-85250

 

XML External Entity injection in Apache Camel - CVE-2026-85250

Published: October 23, 2026


Vulnerability identifier: #VU157303
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-85250
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Apache Camel

How to mitigate CVE-2026-85250

Install security update from vendor's website.

Apache Camel - addressed in versions 4.18.5, 4.22.1

External References

Related Security Bulletins