CVE-2026-59395: Spring AMQP Publisher-Controlled Headers Overwrite Framework-Derived amqp_* Headers
Vulnerability summary
CVE-2026-59395 is a medium (CVSS 4.2) vulnerability in spring spring amqp. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 25.2% of scored vulnerabilities.
Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-12-2026PublishedVulnerability first disclosed.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST4.2MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
25%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Spring1 product
- 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
1 vendor · 1 product