Severity:
CVSS 3.1: 7.5 (high) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected versions:
- Apache Camel (org.apache.camel:camel-smooks) 4.7.0 before 4.18.6
- Apache Camel (org.apache.camel:camel-smooks) 4.19.0 before 4.22.3
- Apache Camel (org.apache.camel:camel-smooks) 4.23.0 before 4.24.0
Description:
Improper Restriction of XML External Entity Reference vulnerability in Apache
Camel Smooks component.
This issue affects Apache Camel: from 4.7.0 before 4.18.6, from 4.19.0 before
4.22.3, from 4.23.0 before 4.24.0.
Improper Restriction of XML External Entity Reference in the Smooks component
(camel-smooks) of Apache Camel allows an attacker who supplies the XML message
body to read local files, or to cause requests to hosts the document names,
when the route passes that body to the Smooks component or SmooksProcessor
already converted to a Smooks Source, such as a StringSource, StreamSource,
ReaderSource, ByteSource or URLSource. The fix for CVE-2026-88901 parses the
XML body with a hardened parser only when the body is not already a Smooks
Source, so such a body is still parsed by the default Smooks XML reader, which
resolves external entities, even when allowExternalEntities is left at its
default of false; configurations that declare their own reader, such as EDI,
CSV or JSON, are not affected. This issue affects Apache Camel: from 4.7.0
before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0; users are
recommended to upgrade to version 4.24.0, or to 4.22.3 or 4.18.6 on the LTS
streams, which fix the issue.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS
release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream
should upgrade to 4.18.6.
Solution:
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS
release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream
should upgrade to 4.18.6.
Credit:
Shashank Mohan Jain (finder)
Andrea Cosentino (remediation developer)
References:
https://camel.apache.org/security/CVE-2026-112194.html
https://issues.apache.org/jira/browse/CAMEL-25787
https://github.com/apache/camel/pull/28095
https://github.com/apache/camel/pull/28158
https://github.com/apache/camel/pull/28161
https://camel.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-112194