Improper input validation in Apache Camel
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.
Summary
Improper input validation vulnerability in Apache Camel Undertow component. This issue affects Apache Camel: from 4.11.0 before 4.14.9, from 4.15.0 before 4.18.4, from 4.19.0 before 4.22.0. UndertowEndpoint defaulted its headerFilterStrategy field to the base HttpHeaderFilterStrategy and pushed that instance into the UndertowHttpBinding it creates lazily, overwriting the UndertowHeaderFilterStrategy that DefaultUndertowHttpBinding installs in its own constructor. Unless a deployment supplied a custom binding or an explicit headerFilterStrategy, the undertow-specific filtering therefore never executed on endpoint-configured routes: the strategy object was constructed and immediately replaced before it could be consulted. The consequence is that the legacy websocket. Exchange-header prefix was not filtered at the undertow transport boundary in either direction, so an undertow HTTP consumer mapped inbound wire headers of that form onto the Exchange, where an undertow WebSocket producer reads them as dispatch directives and can be made to deliver to a peer other than the one the route selected; and header names that undertow itself does not accept were mapped onto the Exchange rather than being skipped. Rest DSL consumers were never affected, because UndertowComponent assigns UndertowRestHeaderFilterStrategy explicitly, which extends the undertow strategy. This is not a regression of CVE-2025-30177: the base HttpHeaderFilterStrategy configures the inbound Camel-prefix filter itself, so the protection introduced by that advisory continued to work through the base class and was never lost. What the change did was leave the undertow strategy orphaned on the endpoint path, with the effect that two subsequent corrections written into it - one skipping header names undertow rejects, one filtering the legacy websocket. prefix in both directions - were applied to a class the endpoint no longer used and never took effect in the releases that shipped them. Users are recommended to upgrade to version 4.22.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.9. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.4. For deployments that cannot upgrade immediately, configure the strategy explicitly rather than relying on the default, for example by binding an UndertowHeaderFilterStrategy in the registry and referencing it on the endpoint as undertow:http://0.0.0.0:8080/foo?headerFilterStrategy=#myStrategy, and additionally strip the dispatch headers at the trust boundary with removeHeaders(“websocket.*”). Note a residual limitation that upgrading does not remove: the undertow component deliberately keeps the websocket. values as part of its externally visible API contract, and UndertowProducer reads them with in.getHeader, which does not consult a HeaderFilterStrategy at all. The restored filtering is therefore defence in depth at the undertow transport boundary only. A route that carries an untrusted message from a non-undertow consumer into an undertow producer is not protected by this fix and must strip those headers itself.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Camel | 4.11.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 | 4.14.9, 4.18.4, 4.22.0 | Patch available | CNA |
| — | org.apache.camel:camel-undertow (Maven) | 4.11.0 to before 4.14.9 | 4.14.9 | Patch available | GHSA-v7h8-xhh6-gfj4 |
| — | org.apache.camel:camel-undertow (Maven) | 4.15.0 to before 4.18.4 | 4.18.4 | Patch available | GHSA-v7h8-xhh6-gfj4 |
| — | org.apache.camel:camel-undertow (Maven) | 4.19.0 to before 4.22.0 | 4.22.0 | Patch available | GHSA-v7h8-xhh6-gfj4 |
- Apache Camel VendorApache Affected 4.11.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 Fixed in 4.14.9, 4.18.4, 4.22.0 Patch available CNA
- org.apache.camel:camel-undertow (Maven) Vendor— Affected 4.11.0 to before 4.14.9 Fixed in 4.14.9 Patch available GHSA-v7h8-xhh6-gfj4
- org.apache.camel:camel-undertow (Maven) Vendor— Affected 4.15.0 to before 4.18.4 Fixed in 4.18.4 Patch available GHSA-v7h8-xhh6-gfj4
- org.apache.camel:camel-undertow (Maven) Vendor— Affected 4.19.0 to before 4.22.0 Fixed in 4.22.0 Patch available GHSA-v7h8-xhh6-gfj4
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* | 4.11.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 | Vulnerable | Apache |
- cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* Versions 4.11.0 to before 4.14.9; 4.15.0 to before 4.18.4; 4.19.0 to before 4.22.0 Vulnerable ·Apache
Remediation
- Fix · CNA Apache Camel (Apache Software Foundation) Fixed in 4.14.9, 4.18.4, 4.22.0
- Fix · GHSA-v7h8-xhh6-gfj4 org.apache.camel:camel-undertow (Maven) Fixed in 4.14.9 Advisory →
- Fix · GHSA-v7h8-xhh6-gfj4 org.apache.camel:camel-undertow (Maven) Fixed in 4.18.4 Advisory →
- Fix · GHSA-v7h8-xhh6-gfj4 org.apache.camel:camel-undertow (Maven) Fixed in 4.22.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Camel 4.14.9, 4.18.4, 4.22.0
6 records Highest priority Priority MEDIUM 4 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-49962 Apache Camel: Camel-Atmosphere-Websocket: WebSocket dispatch header injectionPriority MEDIUM 50
- TI-2026-47478 Path traversal in Apache CamelPriority MEDIUM 48
- TI-2026-47479 Path traversal in Apache CamelPriority MEDIUM 40
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| Red Hat Single Sign-On 7 | Affected | No fix planned: Out of support scope |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-78329
- 2026-10-03 Alias added: GHSA-v7h8-xhh6-gfj4
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
- 2026-11-07 EPSS moved to the below the 50th percentile
References
Advisory 2
Other 12
- https://github.com/apache/camel/pull/25367
- https://github.com/apache/camel/pull/25379
- https://github.com/apache/camel/pull/25381
- https://github.com/apache/camel/pull/25414
- https://github.com/apache/camel/commit/0484842201ed53fb52f3223f9b698868644f5b6f
- https://github.com/apache/camel/commit/1574902d79cc5d36a2e618f7470bf0cba005d5e5
- https://github.com/apache/camel/commit/859e93b4b37fe41918c50812cb1fedb20ca6b8e1
- https://github.com/apache/camel
- https://github.com/apache/camel/releases/tag/camel-4.14.9
- https://github.com/apache/camel/releases/tag/camel-4.18.4
- https://github.com/apache/camel/releases/tag/camel-4.22.0
- https://issues.apache.org/jira/browse/CAMEL-24360
More Apache Camel vulnerabilities
- TI-2026-76322 Unsafe deserialization in Apache Camel camel-hazelcast CVSS 4.0CRITICAL 10.0
- TI-2026-18973 Apache Camel: Camel-Keycloak: Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy CVSS 3.1CRITICAL 9.1
- TI-2026-76339 Path traversal in Apache Camel azure-files component CVSS 3.1CRITICAL 9.1
- TI-2026-76330 Path traversal in Apache Camel FTP consumer escapes polled directory CVSS 3.1CRITICAL 9.1
- TI-2025-20435 Apache Camel: Camel Message Header Injection via Improper Filtering CVSS 3.1MEDIUM 5.6
- TI-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-78329 · CVE Program
- CVE-2026-78329 · NVD
- FIRST EPSS
- GHSA-v7h8-xhh6-gfj4 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-78329 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences