Description
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') and Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') vulnerability in Apache Camel Core 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, the option values of a dynamically-computed endpoint URI - such as the URI built from message content by the toD, enrich and pollEnrich EIPs (and recipientList, routingSlip, dynamicRouter, wireTap) - are processed by the generic endpoint option binding, which resolves Camel property placeholders ({{...}}) and bean/class references (#class:, #bean:, #type:). As a result an untrusted message sender can cause configuration values and secrets (environment variables, system properties, vault/secret functions, registry bean state) to be disclosed into an option value, and attacker-selected classes to be instantiated during endpoint creation. The earlier fix tracked as CAMEL-24282 made only the per-message URI string literal for the toD/enrich path and did not cover the option-binding step.
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.
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, the option values of a dynamically-computed endpoint URI - such as the URI built from message content by the toD, enrich and pollEnrich EIPs (and recipientList, routingSlip, dynamicRouter, wireTap) - are processed by the generic endpoint option binding, which resolves Camel property placeholders ({{...}}) and bean/class references (#class:, #bean:, #type:). As a result an untrusted message sender can cause configuration values and secrets (environment variables, system properties, vault/secret functions, registry bean state) to be disclosed into an option value, and attacker-selected classes to be instantiated during endpoint creation. The earlier fix tracked as CAMEL-24282 made only the per-message URI string literal for the toD/enrich path and did not cover the option-binding step.
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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
Vendor Solution
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.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Thu, 03 Dec 2026 12:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') and Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') vulnerability in Apache Camel Core 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, the option values of a dynamically-computed endpoint URI - such as the URI built from message content by the toD, enrich and pollEnrich EIPs (and recipientList, routingSlip, dynamicRouter, wireTap) - are processed by the generic endpoint option binding, which resolves Camel property placeholders ({{...}}) and bean/class references (#class:, #bean:, #type:). As a result an untrusted message sender can cause configuration values and secrets (environment variables, system properties, vault/secret functions, registry bean state) to be disclosed into an option value, and attacker-selected classes to be instantiated during endpoint creation. The earlier fix tracked as CAMEL-24282 made only the per-message URI string literal for the toD/enrich path and did not cover the option-binding step. 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. | |
| Title | Apache Camel: Camel-Core: message-supplied option values of a dynamic endpoint (toD, enrich, pollEnrich) are resolved as property placeholders and #class: references | |
| Weaknesses | CWE-470 CWE-917 |
|
| References |
| |
| Metrics |
cvssV3_1
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: apache
Published:
Updated: 2026-12-03T12:17:21.171Z
Reserved: 2026-11-17T13:21:25.137Z
Link: CVE-2026-130612
No data.
No data.
No data.
OpenCVE Enrichment
No data.