Apache Camel Fixes XXE Flaw in camel-smooks That Exposes Files and Internal Networks
Vulnerability Disclosure · 5 sources · Updated 1mo ago · First seen Sep 11, 2026

Apache Camel has patched CVE-2026-88901, an XML external entity (XXE) vulnerability in its camel-smooks component and Smooks data format. Attacker-supplied XML processed through the default XML reader could read files accessible to the Camel process or trigger requests to internal network locations. The flaw affects versions 4.7.0 through versions before 4.18.5, and 4.19.0 through versions before 4.22.1. Configurations using explicitly declared EDI, CSV, JSON, or custom readers are unaffected; the supplied references report no evidence of exploitation.
Organizations processing untrusted XML with camel-smooks should upgrade to 4.18.5, 4.22.1, or 4.23.0. Tracked as CAMEL-24677 and backported to the 4.18.x and 4.22.x branches, the fix uses a hardened XML parser that disables external general and parameter entity resolution before passing the resulting document to Smooks. A new allowExternalEntities option defaults to false; enabling it restores the previous behavior and should be reviewed carefully. Custom-reader configurations and marshalling remain unchanged. Deployments unable to upgrade should avoid processing untrusted XML with camel-smooks.
Why it matters
Apache Camel deployments that process attacker-controlled XML through camel-smooks using its default XML reader are exposed to local file disclosure and server-side requests to internal networks. CVE-2026-88901 can expose files accessible to the Camel process and undermine network segmentation; the supplied references report no evidence of exploitation in the wild.
- Affected population: Organizations using the Smooks component or data format for XML integration, particularly routes reachable by external senders or other untrusted producers. Exposure depends on route configuration, not merely installation of Apache Camel.
- Business impact: Disclosure of application secrets or sensitive integration data, plus access to internal services reachable from the Camel runtime. Actual exposure is bounded by process permissions and network access.
- Scope exclusions: Configurations explicitly declaring EDI, CSV, JSON, or custom readers do not use the affected default XML reader. Marshalling is unchanged.
- Lifecycle risk: The camel-4.14.x release stream and earlier reached end of life before resolution and will not receive a fix.


