CVE-2026-78329 — Vulnerability in camel-undertow — CVE Details
Apache 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
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.74%). Schedule for your next planned update.
Does your project use an affected org.apache.camel:camel-undertow version?
Paste your pom.xml to check it for CVE-2026-78329 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
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.
Advisory Timeline
- First published August 24, 2026 (94 days ago).
- Last revised August 28, 2026 — 4 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.14.9 for org.apache.camel:camel-undertow -->
<!-- Update pom.xml dependency version to 4.18.4 for org.apache.camel:camel-undertow -->
<!-- Update pom.xml dependency version to 4.22.0 for org.apache.camel:camel-undertow -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.apache.camel:camel-undertow Maven · Affected: 4.11.0, 4.12.0, 4.13.0, 4.14.0 (+8 more) | 4.14.9 |
| org.apache.camel:camel-undertow Maven · Affected: 4.15.0, 4.16.0, 4.17.0, 4.18.0 (+3 more) | 4.18.4 |
| org.apache.camel:camel-undertow Maven · Affected: 4.19.0, 4.20.0, 4.21.0 | 4.22.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-78329ADVISORY
- https://github.com/apache/camel/pull/25367WEB
- https://github.com/apache/camel/pull/25379WEB
- https://github.com/apache/camel/pull/25381WEB
- https://github.com/apache/camel/pull/25414WEB
- https://github.com/apache/camel/commit/0484842201ed53fb52f3223f9b698868644f5b6fWEB
- https://github.com/apache/camel/commit/1574902d79cc5d36a2e618f7470bf0cba005d5e5WEB
- https://github.com/apache/camel/commit/859e93b4b37fe41918c50812cb1fedb20ca6b8e1WEB
- https://camel.apache.org/security/CVE-2026-78329.htmlWEB
- https://github.com/apache/camelPACKAGE
- https://github.com/apache/camel/releases/tag/camel-4.14.9WEB
- https://github.com/apache/camel/releases/tag/camel-4.18.4WEB
- https://github.com/apache/camel/releases/tag/camel-4.22.0WEB
- https://issues.apache.org/jira/browse/CAMEL-24360WEB
Frequently Asked Questions
- What is CVE-2026-78329?
- Apache 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. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-78329?
- CVE-2026-78329 affects org.apache.camel:camel-undertow. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-78329 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 50.6% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-46456CRITICAL
Apache Camel-AWS2-SQS: Inbound message attributes are mapped into the Exchange without an inbound HeaderFilterStrategy, allowing a message sender to inject Camel control headers
- CVE-2026-48204CRITICAL
Apache Camel: camel-mongodb-gridfs producer allows GridFS operation override and NoSQL operator injection via unfiltered gridfs.* HTTP headers
- CVE-2026-40453CRITICAL
Apache Camel has an incomplete fix for CVE-2025-27636
- CVE-2026-40860CRITICAL
Apache camel-jms, camel-sjms, camel-sjms2 and camel-amqp: Unsafe Deserialization of JMS ObjectMessage
- CVE-2026-40859HIGH
Apache Camel-Vertx-Http and Camel-Netty-Http: Unsafe Java deserialization of HTTP response bodies via a raw ObjectInputStream when transferException is enabled
- CVE-2026-42527HIGH
Apache Camel: Permissive default ObjectInputFilter pattern admits java.net.** and enables DNS-based information disclosure
- CVE-2026-43866HIGH
Apache Camel JMS deserialization filter bypass
- CVE-2026-46592HIGH
Apache Camel-CXF: The SOAP operation-selection headers used non-Camel-prefixed names (operationName, operationNamespace) that bypass the HTTP header filter, allowing an HTTP client to redirect the invoked SOAP operation