Skip to main content
VulnerabilityPublished

CVE-2026-78164: Apache Camel · Template Injection

Affects Apache CamelSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.2 High : upgrade to 4.22.1 or 4.18.5 soon.

Data as of 2 Dec 2026, 18:37 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.22.1, 4.18.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade Apache to 4.22.1 or 4.18.5.

Affected software

ProductAffectedFixed in
Apache Camelorg.apache.camel:camel-httpAffected
  • >=4.19.0 <4.22.1
Fixed in
  • 4.22.1
Apache Camelorg.apache.camel:camel-httpAffected
  • >=4.0.0 <4.18.5
Fixed in
  • 4.18.5
Apache Camelorg.apache.camel:camel-http-commonAffected
  • >=4.19.0 <4.22.1
Fixed in
  • 4.22.1
Apache Camelorg.apache.camel:camel-http-commonAffected
  • >=4.15.0 <4.18.5
Fixed in
  • 4.18.5
Apache Camelorg.apache.camel:camel-vertx-httpAffected
  • >=4.19.0 <4.22.1
Fixed in
  • 4.22.1
Apache Camelorg.apache.camel:camel-vertx-httpAffected
  • >=4.15.0 <4.18.5
Fixed in
  • 4.18.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Apache Camel versions 4.18.5, 4.22.1, and later (4.23.0). Users should upgrade to these versions to resolve the vulnerability. For deployments unable to upgrade immediately, it is recommended to strip the CamelHttpUri and CamelRestHttpUri headers at the trust boundary before the HTTP producer using removeHeader("CamelHttpUri") and removeHeader("CamelRestHttpUri"). Alternatively, for camel-http endpoints, set skipControlHeaders=true to disable header overrides. Note that bridgeEndpoint=true is not a sufficient mitigation. Additionally, enforce strict inbound HeaderFilterStrategy on consumers exposed to untrusted senders and prefer resolving secrets through a vault rather than environment variables or system properties.

Description

CVE-2026-78164 is a high-severity vulnerability in Apache Camel HTTP, Netty HTTP, Undertow, and Vert.x HTTP components. It involves improper neutralization of special elements used in a template engine, allowing inbound messages to override endpoint URIs via headers that are processed through a property-placeholder resolution mechanism. This can lead to exposure of sensitive information and unintended configuration or bean method invocation. The issue affects Apache Camel versions from 4.0.0 before 4.18.5 and from 4.19.0 before 4.22.1. Fixed versions are 4.18.5 and 4.22.1, with 4.23.0 recommended for the latest fixes. Mitigations include upgrading to fixed versions or stripping override headers at the trust boundary, or setting skipControlHeaders=true on camel-http endpoints. The vulnerability is not mitigated by bridgeEndpoint=true or percent-encoding placeholder delimiters.

References

Community reviews

Loading reviews…