CVE-2026-111476: Apache Camel: Camel-Undertow: the HTTP producer decoded percent-encoded characters in the request path and query, allowing CRLF injection into the requests it sent
Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in Apache Camel Undertow component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
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.
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache Camelto a version that resolves this vulnerability.Fixed in 4.24.0 - Upgrade
Upgrade
Apache Camelto a version that resolves this vulnerability.Fixed in 4.18.6 - Upgrade
Upgrade
Apache Camelto a version that resolves this vulnerability.Fixed in 4.22.3
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments are exposed when they use the camel-undertow HTTP producer in Apache Camel versions 4.0.0 through 4.18.5, 4.19.0 through 4.22.2, or 4.23.0 through 4.23.x, and a route forwards client-influenced request paths or query data to a backend.
What does an attacker need to exploit it?
An attacker must be able to act as a remote client of a route that forwards requests through a camel-undertow producer. They can supply percent-encoded control characters in the request path, query, or REST query-parameter values to influence the structure of the outbound backend request.
What should be done if the affected producer is in use?
Upgrade to Apache Camel 4.24.0. For supported LTS streams, upgrade to 4.22.3 on the 4.22.x stream or 4.18.6 on the 4.18.x stream; the fix rejects request targets and header values containing control characters.