Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-78164

published high CVSS 3.1 · 8.2

Apache Camel: HTTP producers resolve property placeholders in message-supplied URI override headers

Published
19 Oct 2026, 10:07:40 UTC
Updated
19 Oct 2026, 18:46:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Apache Software Foundation — org.apache.camel:camel-httpApache Camel · 4.0.0 to < 4.18.5 (affected · maven) · 4.19.0 to < 4.22.1 (affected · maven) · 4.18.5 (unaffected · maven) · 4.22.1 (unaffected · maven) · 4.23.0 (unaffected · maven) · Other versions: unaffected Version-specific Not stated apache
Apache Software Foundation — org.apache.camel:camel-http-commonApache Camel · 4.15.0 to < 4.18.5 (affected · maven) · 4.19.0 to < 4.22.1 (affected · maven) · 4.18.5 (unaffected · semver) · 4.22.1 (unaffected · semver) · 4.23.0 (unaffected · semver) · Other versions: unaffected Version-specific Not stated apache
Apache Software Foundation — org.apache.camel:camel-vertx-httpApache Camel · 4.15.0 to < 4.18.5 (affected · maven) · 4.19.0 to < 4.22.1 (affected · maven) · 4.18.5 (unaffected · semver) · 4.22.1 (unaffected · semver) · 4.23.0 (unaffected · semver) · Other versions: unaffected Version-specific Not stated apache
Apache Software Foundation — org.apache.camel:camel-undertowApache Camel · 4.15.0 to < 4.18.5 (affected · maven) · 4.19.0 to < 4.22.1 (affected · maven) · 4.18.5 (unaffected · semver) · 4.22.1 (unaffected · semver) · 4.23.0 (unaffected · semver) · Other versions: unaffected Version-specific Not stated apache
Apache Software Foundation — org.apache.camel:camel-netty-httpApache Camel · 4.15.0 to < 4.18.5 (affected · maven) · 4.19.0 to < 4.22.1 (affected · maven) · 4.18.5 (unaffected · semver) · 4.22.1 (unaffected · semver) · 4.23.0 (unaffected · semver) · Other versions: unaffected Version-specific Not stated apache

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.

en · apache · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.2 / 10
Severity
high
Provider
apache · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Apache Software Foundation Apache Camel 4.0.0 to < 4.18.5 (affected · maven)4.19.0 to < 4.22.1 (affected · maven)4.18.5 (unaffected · maven)4.22.1 (unaffected · maven)4.23.0 (unaffected · maven)Default: unaffected apache · cna
Apache Software Foundation Apache Camel 4.15.0 to < 4.18.5 (affected · maven)4.19.0 to < 4.22.1 (affected · maven)4.18.5 (unaffected · semver)4.22.1 (unaffected · semver)4.23.0 (unaffected · semver)Default: unaffected apache · cna
Apache Software Foundation Apache Camel 4.15.0 to < 4.18.5 (affected · maven)4.19.0 to < 4.22.1 (affected · maven)4.18.5 (unaffected · semver)4.22.1 (unaffected · semver)4.23.0 (unaffected · semver)Default: unaffected apache · cna
Apache Software Foundation Apache Camel 4.15.0 to < 4.18.5 (affected · maven)4.19.0 to < 4.22.1 (affected · maven)4.18.5 (unaffected · semver)4.22.1 (unaffected · semver)4.23.0 (unaffected · semver)Default: unaffected apache · cna
Apache Software Foundation Apache Camel 4.15.0 to < 4.18.5 (affected · maven)4.19.0 to < 4.22.1 (affected · maven)4.18.5 (unaffected · semver)4.22.1 (unaffected · semver)4.23.0 (unaffected · semver)Default: unaffected apache · cna

Weaknesses

2
  • CWE-1336 CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine (apache · cna)
  • CWE-200 CWE-200 Exposure of Sensitive Information to an Unauthorized Actor (apache · cna)

References

6

Provider assertions

2

apache · cna

Apache Camel: HTTP producers resolve property placeholders in message-supplied URI override headers

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0b7702c1314a7ebcf2a2ccd324e86854956139665337c53a4b507024b38ba3ff
Ingested
19 Oct 2026, 18:57:59 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected