Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 8.2CVE-2026-130612

Apache Camel Core: expression injection and unsafe reflection in dynamic endpoints

Published 03/12/2026 · Updated 03/12/2026 · Apache Camel

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

  1. Upgrade Apache Camel to version 4.24.0.
  2. 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.
  3. 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.
  4. Until upgraded, restrict message sources feeding such routes to trusted systems; no official workaround has been published.
  5. 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

Apache Software Foundation Apache Camel4.0.0 – < 4.18.6 · 4.19.0 – < 4.22.3 · 4.23.0 – < 4.24.0Fixed in: 4.18.6 · 4.22.3 · 4.24.0

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

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.