- Home
- Vulnerabilities
- CVE-2026-59395
CVE-2026-59395
Spring AMQP Publisher-Controlled Headers Overwrite Framework-Derived amqp_* Headers
Summary
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.
Affected products and versions
Spring (6 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| AMQP | from 4.1.0 (included) to 4.1.2.1 (excluded) |
— | CNA (vendor or assigner) |
| AMQP | from 4.0.0 (included) to 4.0.6.1 (excluded) |
— | CNA (vendor or assigner) |
| AMQP | from 3.2.0 (included) to 3.2.14 (excluded) |
— | CNA (vendor or assigner) |
| AMQP | before 2.4.20 (excluded) |
— | CNA (vendor or assigner) |
| AMQP | from 4.1.0 (included) to 4.1.3 (excluded) |
— | CNA (vendor or assigner) |
| AMQP | from 4.0.0 (included) to 4.0.7 (excluded) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N(CVSS 3.1, CNA:vmware)