Home › CVE › Vulnerabilities
CVE-2026-59395 — Spring AMQP
One of 3 Spring AMQP vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 4.2
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- low on confidentiality and integrity, none on availability
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Spring AMQP | ≥ 4.1.0, < 4.1.2.1 | 4.1.2.1 |
| ≥ 4.0.0, < 4.0.6.1 | 4.0.6.1 | |
| ≥ 3.2.0, < 3.2.14 | 3.2.14 | |
| < 2.4.20 | 2.4.20 | |
| ≥ 4.1.0, < 4.1.3 | 4.1.3 | |
| ≥ 4.0.0, < 4.0.7 | 4.0.7 |
References by type
Other references
Affected
- Spring AMQP
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-59395?
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.
How severe is CVE-2026-59395?
CVE-2026-59395 has a CVSS 3.1 base score of 4.2 (medium), from the CNA (vmware.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-59395 being exploited?
Not as far as is known: CVE-2026-59395 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-59395?
Spring AMQP ≥ 4.1.0, < 4.1.2.1 (fixed in 4.1.2.1); Spring AMQP ≥ 4.0.0, < 4.0.6.1 (fixed in 4.0.6.1); Spring AMQP ≥ 3.2.0, < 3.2.14 (fixed in 3.2.14); Spring AMQP < 2.4.20 (fixed in 2.4.20); and more, listed on this page.
How do I fix CVE-2026-59395?
Update to a fixed release: Spring AMQP 4.1.2.1; Spring AMQP 4.0.6.1; Spring AMQP 3.2.14.