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
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache Camelto a version that resolves this vulnerability.Fixed in 4.24.0 - Upgrade
Upgrade
Apache Camelto a version that resolves this vulnerability.Fixed in 4.22.3
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments are exposed when a Camel A2A route consumes an incoming A2A request and, on the same exchange, invokes a downstream A2A agent. This nested orchestrator pattern allowed consumer-parsed request metadata to collide with producer control headers.
What can an attacker do?
A remote caller can influence the operation and context of the outbound request sent to the downstream A2A agent. The caller can also influence the task identity reflected in the reply.
Which versions need to be upgraded?
Affected versions are Apache Camel 4.21.0 through versions before 4.22.3, and 4.23.0 through versions before 4.24.0. Upgrade to 4.24.0, or to 4.22.3 for the 4.22.x LTS stream.
How can I determine whether my route is affected?
Review A2A routes for a flow in which an A2A agent-server consumer receives a request and an A2A agent-client producer calls another agent using that same exchange. Such routes may allow incoming CamelA2A metadata to be reused as outbound producer control input in affected versions.