← Security advisories
Apache Camel security advisory

CVE-2026-111476

Camel-Undertow: the HTTP producer decoded percent-encoded characters in the request path and query, allowing CRLF injection into the requests it sent

Description

The Apache Camel camel-undertow HTTP producer built the path and query of its outbound requests from the decoded form of the target URI, so percent-encoded characters supplied through the request path and query (or through REST query-parameter values) were decoded before Undertow's HTTP client wrote the outgoing request, which it does without validation. A remote client of a route that forwards to a camel-undertow producer could thereby influence the structure of the request the producer sent to the backend. The issue is fixed by rejecting request targets and header values that contain control characters.

Mitigation

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

This issue was discovered by Shashank Mohan Jain

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25704 refers to the various commits that resolved the issue, and have more details.

References