CVE-2026-59395: Spring AMQP Publisher-Controlled Headers Overwrite Framework-Derived amqp_* Headers

Published Dec 2, 2026
·
Updated

SimpleAmqpHeaderMapper.toHeaders() first populates the Spring Messaging headers with framework-derived values from the received MessageProperties (such as amqpreceivedUserId , amqpconsumerQueue , amqpdeliveryTag and amqpredelivered ) 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.RECEIVEDUSERID (broker-validated identity) or AmqpHeaders.CONSUMERQUEUE , for authorization or routing decisions.

Affected Software

1 affected component
VMware Spring AMQP

Event History

Dec 2, 2026
CVE Published
via MITRE·07:11 AM
Data Sourced
via MITRE·07:11 AM
DescriptionSeverity

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications are affected when an attacker can publish messages that are routed to a listener and the application uses an amqp_* framework-derived header for authorization or routing decisions. Examples include reliance on AmqpHeaders.RECEIVED_USER_ID or AmqpHeaders.CONSUMER_QUEUE.

2

What access does an attacker need to exploit it?

The attacker needs the ability to publish a message that reaches an affected listener. They can then provide raw AMQP headers with names that collide with amqp_* headers and replace the values visible to the listener.

3

What values can be spoofed for a listener?

Publisher-controlled headers can overwrite framework-derived values including amqp_receivedUserId, amqp_consumerQueue, amqp_deliveryTag, and amqp_redelivered. The downstream @RabbitListener handler may receive the attacker-supplied value through @Header or MessageHeaders.

4

How can teams determine whether their application is affected?

Review listener authorization and routing logic for use of amqp_* headers, especially values obtained through @Header or MessageHeaders. The application is at risk if those values influence decisions and untrusted publishers can route messages to the listener.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203