freenode

← CVE tracker

CVE-2026-59395

Spring AMQP Publisher-Controlled Headers Overwrite Framework-Derived amqp_* Headers

Severity
medium CVSS 4.2 (v3.1)
Affects
Spring AMQP · Spring
Published
2 December 2026 by vmware
SimpleAmqpHeaderMapper.toHeaders() first populates the Spring Messaging headers with framework-derived values from the received MessageProperties (such as amqp_receivedUserId , amqp_consumerQueue , amqp_deliveryTag and amqp_redelivered ) and then copies the raw AMQP message headers, which are fully controlled by the publisher. As a result, a publisher can supply custom headers whose names collide with the amqp_* constants and silently replace the trusted values that downstream @RabbitListener handlers see via @Header or MessageHeaders . Applications are affected if an attacker is able to publish messages routed to a listener and the application relies on an amqp_* framework header, for example AmqpHeaders.RECEIVED_USER_ID (broker-validated identity) or AmqpHeaders.CONSUMER_QUEUE , for authorization or routing decisions.

Our coverage

We have not written about this one. Know why it matters? Send a tip.