CVE-2026-78329
Apache Camel: Camel-Undertow: the endpoint discarded the undertow-specific header filter strategy in favour of the base HTTP one, so the undertow filtering never ran on endpoint-configured routes
Also known as GHSA-v7h8-xhh6-gfj4
Mitigation
- Upgrade org.apache.camel:camel-undertow to one of 4.14.9, 4.18.4, 4.22.0 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.camel:camel-undertow (>= 4.11.0, < 4.14.9)
- Anyone running Apache Software Foundation Apache Camel >= 4.11.0, < 4.14.9; >= 4.15.0, < 4.18.4; >= 4.19.0, < 4.22.0
Vulnerability facts
- Affected
- org.apache.camel:camel-undertow >= 4.11.0, < 4.14.9
- Fixed in
- 4.14.9, 4.18.4, 4.22.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.74% chance of exploitation in 30 days (percentile 51, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.camel:camel-undertow | >= 4.11.0, < 4.14.9 | 4.14.9, 4.18.4, 4.22.0 | osv |
| Apache Software Foundation Apache Camel | >= 4.11.0, < 4.14.9; >= 4.15.0, < 4.18.4; >= 4.19.0, < 4.22.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-78329. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-78329.md Affected: org.apache.camel:camel-undertow >= 4.11.0, < 4.14.9 Fixed in: 4.14.9, 4.18.4, 4.22.0 Steps: 1. Search this machine and project for org.apache.camel:camel-undertow (Maven), Apache Software Foundation Apache Camel: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- 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
FAQ
Is CVE-2026-78329 being exploited?
There is no confirmed exploitation: CVE-2026-78329 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.74% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-78329?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-78329?
org.apache.camel:camel-undertow >= 4.11.0, < 4.14.9.
Is there a fix for CVE-2026-78329?
Yes. Fixed in 4.14.9, 4.18.4, 4.22.0. Upgrade org.apache.camel:camel-undertow to one of 4.14.9, 4.18.4, 4.22.0 (or later in the same release line).
How do I check if I'm affected by CVE-2026-78329?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.