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.
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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 04 Dec 2026 18:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-20 CWE-284 |
Thu, 03 Dec 2026 03:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Spring
Spring spring Amqp |
|
| Vendors & Products |
Spring
Spring spring Amqp |
Wed, 02 Dec 2026 07:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Spring AMQP Publisher-Controlled Headers Overwrite Framework-Derived amqp_* Headers | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: vmware
Published:
Updated: 2026-12-02T07:11:15.679Z
Reserved: 2026-07-04T18:15:31.160Z
Link: CVE-2026-59395
No data.
Status : Awaiting Analysis
Published: 2026-12-02T08:17:43.503
Modified: 2026-12-02T19:26:40.093
Link: CVE-2026-59395
No data.
OpenCVE Enrichment
Updated: 2026-12-04T18:15:03Z