CVE-2026-59395
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| spring | spring_amqp | {"startIncluding":"4.1.0","endExcluding":"4.1.2.1"} | 4.1.2.1 |
| spring | spring_amqp | {"startIncluding":"4.0.0","endExcluding":"4.0.6.1"} | 4.0.6.1 |
| spring | spring_amqp | {"startIncluding":"3.2.0","endExcluding":"3.2.14"} | 3.2.14 |
| spring | spring_amqp | {"endExcluding":"2.4.20"} | 2.4.20 |
| spring | spring_amqp | {"startIncluding":"4.1.0","endExcluding":"4.1.3"} | 4.1.3 |
| spring | spring_amqp | {"startIncluding":"4.0.0","endExcluding":"4.0.7"} | 4.0.7 |
References
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.