Intel

AIKIDO-2026-721917

camel-http is vulnerable to Improper Neutralization of Special Elements Used in a Template Engine

CVE-2026-78164Published Oct 31, 2026
October 31, 2026

82

CVE Score

High

Improper Neutralization of Special Elements Used in a Template Engine

Are you affected? Scan for Free

TL;DR

Before the fix, createMethod in HttpMethodHelper passed the message-supplied CamelHttpUri header through CamelContext.resolvePropertyPlaceholders() before building the outgoing request, so any source able to set that header on a message entering an HTTP producer route could evaluate OS environment variables, JVM system properties, registered PropertiesFunctions, and no-argument registry-bean methods. Routes using a plain to("http://backend/api") producer were exposed unless the skipControlHeaders endpoint opt-out was set, and it defaults to off. The fix removes the placeholder resolution so the header value is only URI-encoded, never evaluated.

How do I fix this?

Upgrade the org.apache.camel:camel-http package to a fixed release on your branch: 4.18.5, 4.22.1.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and use an http producer endpoint and route in messages whose sources can set the CamelHttpUri header without setting skipControlHeaders.

Package

Versions

4.0.0 - 4.18.4

Fixed in 4.18.5

4.19.0 - 4.22.0

Fixed in 4.22.1

Background info

camel-http is vulnerable to Improper Neutralization of Special Elements Used in a Template Engine in versions 4.0.0 - 4.18.4 and 4.19.0 - 4.22.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea