CVE-2026-59365
Spring Integration AMQP Default Inbound Header Mapper Maps replyChannel and errorChannel Headers
Description
With its default inbound request header pattern of *, DefaultAmqpHeaderMapper.inboundMapper() copies all AMQP application headers into the Spring Integration message headers, including the framework-significant replyChannel and errorChannel headers. This mapper is used by default by all AMQP inbound components, such as AmqpInboundChannelAdapter, AmqpInboundGateway, AmqpMessageSource and AMQP-backed message channels.
An attacker able to publish messages to a RabbitMQ queue consumed by an affected application can therefore set these headers. A replyChannel or errorChannel header is later resolved as a MessageChannel bean name, which allows the attacker to redirect the output of reply-producing handlers without an explicit output channel, or error messages, to another channel in the application.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.integration » spring-integration-amqp | <= 5.5.22>= 6.0.0, <= 6.4.13>= 6.5.0, <= 6.5.11>= 7.0.0, < 7.0.8>= 7.1.0, < 7.1.3 | 7.0.8, 7.1.3 |
Blast radius
Dependency propagation for this vulnerability will be available after the next index build.
