CVE-2026-121149: Apache Camel: Camel-JPA: String values of CamelJpaParameters header are evaluated as Simple expressions
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') vulnerability in Apache Camel JPA component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
In Apache Camel camel-jpa, string values provided in the CamelJpaParameters header map are evaluated as Simple expressions by the JPA producer. When a route populates this header with values originating from an external message, those values are evaluated as expressions with the exchange in scope, potentially leading to unauthorized data access or method execution.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.24.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.18.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.22.3
Event History
Frequently Asked Questions
Which deployments are most exposed to this issue?
Deployments are exposed when a Camel JPA route populates the CamelJpaParameters header map using string values that originate from an external message. Those values can then be evaluated as Simple expressions with the exchange in scope.
What could an unauthenticated attacker need to exploit this?
An attacker would need a way to supply or influence externally sourced string values that the affected route places in the CamelJpaParameters header map. No privileges or user interaction are required according to the supplied severity vector, but exploitation has high attack complexity.
Are fixed versions available for all affected release streams?
Yes. Upgrade to Apache Camel 4.24.0 for the 4.23.x stream, 4.22.3 for the 4.22.x LTS stream, or 4.18.6 for the 4.18.x LTS stream.
What is the practical impact if exploitation succeeds?
Expression evaluation occurs with the Camel exchange in scope and may allow unauthorized data access or method execution. The supplied severity vector indicates low confidentiality and integrity impact, with no availability impact.