CVE-2026-59365: Spring Integration AMQP Default Inbound Header Mapper Maps replyChannel and errorChannel Headers
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 Software
Event History
Frequently Asked Questions
Which deployments are exposed by default?
Applications using AMQP inbound components with the default DefaultAmqpHeaderMapper inbound request header pattern of * are exposed. This includes AmqpInboundChannelAdapter, AmqpInboundGateway, AmqpMessageSource, and AMQP-backed message channels.
What access does an attacker need?
An attacker must be able to publish a message to a RabbitMQ queue that the affected application consumes. No user interaction is required.
What can an attacker redirect?
An attacker can supply replyChannel or errorChannel headers that are resolved as MessageChannel bean names. This can redirect output from reply-producing handlers that lack an explicit output channel, or redirect error messages, to another application channel.
How can I determine whether an application is affected?
Check whether the application consumes from RabbitMQ through an affected AMQP inbound component and uses the default inbound header mapper configuration. Also determine whether parties able to publish to the consumed queues could set AMQP application headers named replyChannel or errorChannel.