CVE-2026-59395
Received Received - Intake

SimpleAmqpHeaderMapper Header Injection in Spring AMQP

Vulnerability report for CVE-2026-59395, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
vmware spring_messaging *
vmware spring_amqp to 2.4.20 (exc)
vmware spring_amqp From 3.2.0 (inc) to 3.2.13 (inc)
vmware spring_amqp From 4.0.0 (inc) to 4.0.6 (inc)
vmware spring_amqp From 4.1.0 (inc) to 4.1.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves the SimpleAmqpHeaderMapper.toHeaders() method in Spring AMQP. It first sets trusted framework-derived headers like amqp_receivedUserId or amqp_consumerQueue. Then it overwrites these with raw AMQP message headers controlled by the publisher. This allows an attacker to replace trusted values with malicious ones.

Detection Guidance

Check if your Spring AMQP version is affected by running: mvn dependency:tree | grep spring-amqp. If using Gradle: gradle dependencies | grep spring-amqp. Affected versions include 2.4.19 and earlier, 3.2.0-3.2.13, 4.0.0-4.0.6, and 4.1.0-4.1.2.

Impact Analysis

An attacker could manipulate authorization or routing decisions by replacing trusted headers. For example, they might alter user identity or queue names, potentially gaining unauthorized access or disrupting message handling in applications using @RabbitListener with @Header or MessageHeaders.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by allowing attackers to manipulate headers used for authorization or routing decisions. For example, an attacker could replace trusted user identity headers (like amqp_receivedUserId) with malicious values, potentially bypassing access controls or audit trails. This undermines data protection measures required by these regulations.

Mitigation Strategies

Upgrade to fixed versions like 4.1.3, 4.0.7, 3.2.14, or 2.4.20. If upgrading is not possible, extract trusted values directly from MessageProperties instead of relying on mapped Spring Messaging headers.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59395. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...