CVE-2026-59395Spring AMQP Acceptance of Extraneous Untrusted Data With Trusted Data
Spring
Vulnerability Summary
Spring 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.
CVSS v3.1 Base Metrics — Score 4.2 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityNone
Affected & Patched Versions
- Spring AMQP 4.1.0 through 4.1.2
- Spring AMQP 4.0.0 through 4.0.6
- Spring AMQP 3.2.0 through 3.2.13
- Spring AMQP through 2.4.19
- Spring AMQP 4.1.3 (open source)
- Spring AMQP 4.0.7 (open source)
- Spring AMQP 4.1.2.1 (commercial support only)
- Spring AMQP 4.0.6.1 (commercial support only)
- Spring AMQP 3.2.14 (commercial support only)
- Spring AMQP 2.4.20 (commercial support only)
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Spring AMQP and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Spring AMQP CVEsYou are reading CVE-2026-59395. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://spring.io/security/cve-2026-59395
Data last checked: Nov 24, 2026 20:01 UTC