Apache Camel security advisory
CVE-2026-121149
Camel-JPA: String values of CamelJpaParameters header are evaluated as Simple expressions
Description
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.
Mitigation
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.
Credit
This issue was discovered by Claus Ibsen from Apache Software Foundation
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-26533 refers to the various commits that resolved the issue, and have more details.