Impact
Apache Camel’s HTTP producer components (camel-http, camel-netty-http, camel-undertow, camel-vertx-http) allow an incoming message to override the target endpoint URI via CamelHttpUri or CamelRestHttpUri headers. The framework then mistakenly applies CamelContext.resolvePropertyPlaceholders() to the entire string, treating it as a configuration resolution step. That process expands placeholders against operating‑system environment variables, JVM system properties, registered property functions, and even invokes no‑argument bean methods via camel‑bean. As a result, a crafted header can retrieve or expose secrets or trigger arbitrary bean logic, causing sensitive data disclosure and, in the worst case, remote code execution if a bean method performs privileged actions. Additionally, unresolvable placeholders produce a RuntimeExchangeException whose message echoes the URI, further leaking sensitive information.
Affected Systems
Apache Camel HTTP, Netty HTTP, Undertow, and Vert.x HTTP components from version 4.0.0 up to but excluding 4.18.5, and from 4.19.0 up to but excluding 4.22.1 are affected. Versions 4.18.5, 4.22.1 and all subsequent releases (including 4.23.0) contain the fix. Older release lines such as 4.14.x and below are end‑of‑life and will not receive a patch, so deployments must migrate to a supported stream.
Risk and Exploitability
The CVSS score of 8.2 indicates a medium‑to‑high severity flaw. While an EPSS score is not provided, the vulnerability can be abused by any actor that can influence an HTTP request to a Camel endpoint. The likely attack vector is a remote network request that supplies a crafted CamelHttpUri or CamelRestHttpUri header. The flaw is not currently listed in the CISA KEV catalog, yet the attack path remains viable because the configuration resolver treats placeholders as configuration keys, exposing secrets and potentially executing unexpected bean logic.
OpenCVE Enrichment