CVE-2026-78164
8.2HighPublished Oct 19, 2026 · NVD status: Undergoing Analysis · AI triage by gemini-3.8-flash
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on confidentiality
- Weakness
- CWE-200, CWE-1336
What an attacker gets
Remote, unauthenticated attackers can extract cloud secrets, system properties, and environment variables or invoke no-arg registry beans by sending requests with crafted URIs or headers. Even without outbound network egress, error messages can leak whether specific configuration keys exist.
Root cause
HTTP producer components improperly evaluate property placeholders on untrusted incoming message headers (CamelHttpUri and CamelRestHttpUri) via CamelContext.resolvePropertyPlaceholders().
Affected versions
Apache Camel 4.0.0 before 4.18.5, and 4.19.0 before 4.22.1 (4.14.x and older are also affected but EOL).
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Fix & remediation
Upgrade to Apache Camel 4.23.0, 4.22.1, or 4.18.5. If patching immediately is impossible, strip headers before producers using removeHeader("CamelHttpUri") and removeHeader("CamelRestHttpUri"), or configure skipControlHeaders=true on camel-http endpoints.
$ mvn dependency:tree | grep -E 'camel-(http|netty-http|undertow|vertx-http)'AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
Improper Neutralization of Special Elements Used in a Template Engine and Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel HTTP, Netty HTTP, Undertow and Vert.x HTTP components. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. The Camel HTTP producer families let an inbound message override the endpoint URI through the CamelHttpUri and CamelRestHttpUri headers, and then passed that message-supplied string through CamelContext.resolvePropertyPlaceholders() before using it. Property-placeholder resolution is a configuration-resolution facility, not a URI-parsing step: it reaches operating-system environment variables, JVM system properties, every PropertiesFunction registered on the classpath - including the secret functions - and, through camel-bean, the invocation of a no-argument method on any bean in the registry. Applying it to Exchange content therefore turned a URI string into a configuration- and bean-evaluation context. A route author opted into none of this: a plain static to("http://backend/api") was sufficient. Seven call sites were affected: HttpHelper.createURL and HttpHelper.createMethod in camel-http-common, HttpMethodHelper.createMethod in camel-http, VertxHttpHelper.resolveHttpURI in camel-vertx-http, UndertowHelper.createURL and UndertowHelper.createMethod in camel-undertow, and NettyHttpHelper.createURL in camel-netty-http. The bridgeEndpoint option did not bound the exposure: it suppresses the CamelHttpUri override in the createURL family but not in the createMethod family, so a route using the documented bridging configuration still resolved placeholders taken from the header, and CamelRestHttpUri was consumed before any bridgeEndpoint check in all four components. Only camel-http offered an opt-out, skipControlHeaders, which defaults to false. Reaching the headers did not always require header injection, because several Camel HTTP consumers populate CamelHttpUri from the request line themselves as a documented reverse-proxy feature. An unresolvable placeholder additionally produced a RuntimeExchangeException whose message echoed the URI, which distinguishes a set from an unset configuration key even where no outbound request is made. The behaviour predates the 4.x line. This advisory continues the alignment CAMEL-24282 applied to the toD and enrich dynamic-URI EIPs in 4.22.0, extending the same build-time-resolution contract to the HTTP producer components. Users should upgrade to version 4.23.0, which fixes the issue. Users on the 4.22.x releases stream should upgrade to 4.22.1. Users on the 4.18.x releases stream should upgrade to 4.18.5. The 4.14.x releases stream and earlier reached end of life before this issue was resolved and will not receive a fix, so deployments on those lines must move to a supported release. For deployments that cannot upgrade immediately, strip the override headers at the trust boundary before the producer with removeHeader("CamelHttpUri") and removeHeader("CamelRestHttpUri"), or set skipControlHeaders=true on camel-http endpoints, which is the only component offering that option. Note that bridgeEndpoint=true is not a workaround: it suppresses the header override when the outbound URL is built but not when the header is re-parsed for the query string. Percent-encoding the placeholder delimiters is likewise not a mitigation for camel-netty-http, whose binding decodes the request path before the value reaches the header, so proxy or WAF rules written against the raw delimiters do not help there. As defence in depth, ensure consumers exposed to untrusted senders apply a strict inbound HeaderFilterStrategy over the Camel namespace, and resolve secrets through a vault rather than through environment variables or system properties that a placeholder can name.
References
- https://camel.apache.org/security/CVE-2026-78164.html
- https://github.com/apache/camel/commit/7cec534c66969015d85e56631143174dd150ed94
- https://github.com/apache/camel/commit/9f8a185e315ce9e120889c4106be3dbf4688e507
- https://github.com/apache/camel/commit/ba5aced7f6a1c38a963020575676ad4c76b492cf
- https://github.com/apache/camel/pull/25571
- https://issues.apache.org/jira/browse/CAMEL-24418
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1328287.4HighAttackers can intercept or modify sensitive data like credentials and request bodies in transit. This happens when the component incorrectly downgrades HTTPS requests to cleartext HTTP if TLS parameters are missing.
- CVE-2026-1266357.5HighUnauthenticated attackers can steal backend authentication credentials by observing HTTP response headers. This occurs when the OData component leaks configured Basic or Bearer tokens back to the client.
- CVE-2026-936489.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in a user's browser by sending a crafted iCalendar invitation. This allows the attacker to steal mailbox data and perform actions as the logged-in user.
- CVE-2026-936469.8CriticalUnauthenticated attackers can execute arbitrary commands as the zimbra user. They only need network access to the Zimbra server to exploit the flawed token authorization.
- CVE-2026-936457.8HighLocal attackers with access to the zimbra account can escalate privileges to root. This requires existing local command execution as the zimbra user.
- CVE-2026-936448.6HighAttackers can steal internal service information or credentials by performing server-side request forgery. This requires access to a document editor token, which can be obtained by an unauthenticated user via public Briefcase documents.