CVE-2026-135917
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
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.
Mitigation
Credit
This issue was discovered by Andrea Cosentino from Apache Software Foundation
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25931 refers to the various commits that resolved the issue, and have more details.