CVE-2026-59395
MEDIUM 4.2CVSS 3.1Spring AMQP Publisher-Controlled Headers Overwrite Framework-Derived amqp_* Headers
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security@vmware.com
- NVD status
- Awaiting Analysis
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| CVE List | vmware | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Spring | Spring AMQP | >= 4.1.0, < 4.1.2.1; >= 4.0.0, < 4.0.6.1; >= 3.2.0, < 3.2.14; < 2.4.20; >= 4.1.0, < 4.1.3; >= 4.0.0, < 4.0.7 | 4.1.2.1, 4.0.6.1, 3.2.14, 2.4.20, 4.1.3, 4.0.7 |
References
- https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N&version=3.1
- https://spring.io/security/cve-2026-59395
History
- 2 Dec 2026 19:36 UTC · NVD: status Received → Awaiting Analysis
- 2 Dec 2026 08:19 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 07:42 UTC · CVE List: first stored (published 2 Dec 2026)