Summary
In the Apache Camel Core component, option values of a dynamically computed endpoint URI (e.g. a URI built from message content by the toD, enrich, pollEnrich EIPs, as well as recipientList, routingSlip, dynamicRouter and wireTap) are processed by the generic endpoint option binding. This resolves Camel property placeholders ({{...}}) and bean/class references (#class:, #bean:, #type:). The earlier fix (CAMEL-24282) only made the per-message URI string literal and did not cover the option-binding step.
Per the CVSS vector (8.2, high), the attack is network-based, low complexity, and requires no authentication or user interaction. 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. Confidentiality impact is low, integrity impact high, no availability impact.
Affected versions: 4.0.0 before 4.18.6, 4.19.0 before 4.22.3, and 4.23.0 before 4.24.0. The vulnerability is not listed in the CISA KEV catalog.
Who is affected
Organizations running Apache Camel 4.x with routes that build dynamic endpoints from message content that may originate from untrusted sources.
What to do
- Upgrade Apache Camel to version 4.24.0.
- Users on the 4.22.x LTS stream should upgrade to 4.22.3; users on the 4.18.x LTS stream should upgrade to 4.18.6.
- Inventory applications and dependencies (camel-core) in the 4.0.0 – 4.24.0 range and check whether they use toD, enrich, pollEnrich, recipientList, routingSlip, dynamicRouter or wireTap with URIs derived from message content.
- Until upgraded, restrict message sources feeding such routes to trusted systems; no official workaround has been published.
- Follow the official advisory: https://camel.apache.org/security/CVE-2026-130612.html
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.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- Low impact
- Integrity
- High impact
- Availability
- None
Weakness type (CWE)
- CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
- CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
References
- camel.apache.org/security/CVE-2026-130612.html vendor advisory
- issues.apache.org/jira/browse/CAMEL-27160
- github.com/apache/camel/pull/30389 patch
- github.com/apache/camel/pull/30396 patch
- github.com/apache/camel/pull/30397 patch
- github.com/apache/camel/pull/30398 patch
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.