CVE-2026-135917
Apache Camel: Camel-A2A nested agent route shares control headers between the consumer and producer, letting a remote caller alter the outbound request and the reply identity
Description
Unintended Proxy or Intermediary ('Confused Deputy') vulnerability in Apache Camel A2A component.
This issue affects Apache Camel: from 4.21.0 before 4.22.3, from 4.23.0 before 4.24.0.
Apache Camel's camel-a2a component provides both an A2A agent-server consumer and an A2A agent-client producer, which before the fix shared a single CamelA2A* message-header namespace. In a nested orchestrator route that consumes an A2A request and then calls a downstream A2A agent on the same exchange, metadata the consumer parsed from the incoming (untrusted) request reused the same header names the producer reads as its control inputs, so a remote caller could influence the operation and context of the downstream request and the task identity reflected back in the reply. The fix separates the consumer's request/reply metadata into distinct header names from the producer's control headers, so the two legs of a nested route no longer collide.
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-a2apreliminary | >= 4.21.0, < 4.22.3>= 4.23.0, < 4.24.0 | 4.22.3, 4.24.0 |
Blast radius
93% of the dependent artifacts (27) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 12 |
| 2 hops | 46 |
| 3 hops | 18 |
| 4 hops | 5 |
| 5 hops | 49 |
| 6 hops | 5 |
Most used dependents
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel » camel-catalog-lucene8 usages
- org.apache.camel » camel-route-parser7 usages
- org.apache.camel » apache-camel5 usages
- org.apache.camel » camel-kamelet-main5 usages
- org.apache.camel » camel-catalog-console3 usages
- org.apache.camel » camel-jbang-plugin-kubernetes3 usages
- org.apache.camel » camel-report-maven-plugin3 usages
- org.apache.camel.quarkus » camel-quarkus-a2a3 usages
- org.apache.camel » camel-jbang-plugin-generate2 usages
- org.apache.camel » camel-jbang-plugin-test2 usages
- org.apache.camel » camel-jbang-main1 usages
- org.apache.camel » camel-jbang-plugin-edit1 usages
Computed from the dependency graph of build 20261202.2045 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
