XML External Entity injection in Apache Camel - CVE-2026-112194
Published: December 6, 2026
Vulnerability details
The vulnerability allows a remote attacker to read local files accessible to the Apache Camel process or cause that process to send requests to hosts named in an XML document.
The vulnerability exists due to improper restriction of XML external entity references in the Apache Camel Smooks component when its default XML reader parses a message body that the route has already converted to a Smooks Source. A remote attacker can supply XML that the reader processes to disclose local file contents or initiate requests to hosts named in the document.
The default XML reader resolves external entities even when allowExternalEntities is false. Configurations that declare their own reader, such as EDI, CSV, or JSON configurations, are unaffected.