Skip to main content

Spring AMQP CVE-2026-41701

| EUVDEUVD-2026-35895 MEDIUM
Use of Insufficiently Random Values (CWE-330)
2026-06-10 security@vmware.com GHSA-p5f7-rjhp-pxvc
4.4
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain high-privilege broker or network access
  2. Delivery
    Configure listener on fixed reply queue
  3. Exploit
    Observe outbound sendAndReceive() correlation ID
  4. Execution
    Predict next sequential correlation ID
  5. Persist
    Publish forged reply message with predicted ID
  6. Impact
    Application accepts injected reply as legitimate response

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic random values
Exploitation Conditions

Exploitation requires the application to be using RabbitTemplate.sendAndReceive() with an explicitly configured fixed reply queue - this is a non-default deployment pattern; applications using the default temporary per-request queue model are not vulnerable. The CVSS vector confirms high privileges are required (PR:H), meaning the attacker must already hold elevated access to the AMQP broker environment or internal network segment. Attack complexity is rated High (AC:H), indicating a race condition or precise timing element must be satisfied to inject or intercept the reply before the legitimate response arrives. No user interaction is required (UI:N). These conditions collectively limit exploitation to insider threats, compromised privileged service accounts, or attackers with significant existing foothold in the messaging infrastructure. Standard external attackers without broker-level access cannot exploit this vulnerability.

Impact

The CVSS 4.4 Medium score is calibrated by significant mitigating factors: Attack Complexity is rated High (AC:H), meaning specific race or positioning conditions must be met, and Privileges Required is High (PR:H), constraining exploitation to already-privileged broker or application actors. The network attack vector (AV:N) widens the theoretical exposure surface, and the changed scope (S:C) signals that successful exploitation can affect components beyond the vulnerable RabbitTemplate instance - for example, other consumers sharing the same fixed reply queue. Confidentiality and integrity impacts are both Low (C:L/I:L), consistent with partial message interception or injection rather than full system compromise. No EPSS score was provided in source data; one cannot be inferred. There is no CISA KEV listing and no publicly known exploit code, suggesting this is a theoretical or targeted risk rather than a commodity threat. The real-world risk is further constrained by the non-default deployment requirement of a fixed reply queue. Organizations that rely on the default temporary-queue pattern are not affected. The combination of PR:H and AC:H makes this a low-priority item for most environments, though the S:C signal warrants attention in multi-tenant or high-throughput broker deployments where reply queue isolation is critical.

Exploit ScenarioDerived

An attacker who has already obtained high-privilege access to the RabbitMQ broker - for example, a compromised internal service account or a malicious insider - observes an in-flight sendAndReceive() correlation ID (e.g., '42') and trivially predicts subsequent values. The attacker races to publish a crafted reply message with correlation ID '43' to the fixed reply queue before the legitimate server reply arrives, causing the RabbitTemplate consumer to accept the forged reply as authentic, potentially injecting false data into the application's business logic.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

Predictable correlation IDs in Spring AMQP's RabbitTemplate.sendAndReceive() expose request-reply messaging to correlation hijacking when a fixed reply queue is configured. Affected are all widely used Spring AMQP branches from 2.4.x through 4.0.x - a broad install base across Java enterprise applications. A network-positioned attacker with high privileges can exploit the sequential counter to predict future correlation IDs, enabling interception or injection of reply messages into the shared fixed reply queue. No public exploit code exists and this vulnerability is not listed in CISA KEV; CVSS 4.4 Medium reflects real-world limitations from high privilege and complexity requirements despite the changed scope indicator.

RemediationAI

The primary remediation is to upgrade to a patched release of Spring AMQP; exact fixed versions are not confirmed from the available data and must be obtained directly from the vendor advisory at https://spring.io/security/cve-2026-41701. As an effective architectural workaround that eliminates the vulnerability entirely, applications should migrate from a fixed reply queue to per-request exclusive temporary reply queues - Spring AMQP supports this pattern natively and it removes correlation ID predictability by design, since each request gets an isolated, auto-deleted queue that cannot be observed or injected into by other parties. The trade-off of temporary queues is slightly higher broker overhead per request. A second workaround, if a fixed reply queue is architecturally required, is to implement a custom CorrelationDataPostProcessor that generates cryptographically random UUIDs (e.g., via java.util.UUID.randomUUID()) as correlation IDs rather than relying on the internal counter. This approach carries no functional trade-off but requires code changes and testing. Patch availability as a released artifact version is not independently confirmed from this data set - consult the Spring advisory before assuming any specific version is remediated.

Affected VersionsENISA

Spring AMQP 3.2.0 <3.2.11
Spring AMQP 3.1.0 <3.1.16
Spring AMQP 4.0.0 <4.0.4
Spring AMQP 2.4.0 <2.4.18

Affected Packages

maven org.springframework.amqp:spring-amqp fix: 3.2.11, 4.0.4
euvd spring_amqp fix: 2.4.18, 3.1.16, 3.2.11, 4.0.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring AMQP is a Java framework that abstracts AMQP/RabbitMQ messaging, and RabbitTemplate is its primary synchronous messaging abstraction. The sendAndReceive() method implements a request-reply pattern: a message is sent to an exchange and a correlated reply is expected on a reply queue. When a fixed reply queue is used (a shared, persistent queue rather than a per-request ephemeral queue), correlation IDs are the sole mechanism for matching replies to their originating requests. The root cause is CWE-330 (Use of Insufficiently Random Values): Spring AMQP internally uses a simple incrementing counter to generate these correlation IDs rather than a cryptographically secure random value. This makes IDs entirely predictable to any party that can observe even one prior message exchange. Affected CPE covers org.springframework.amqp artifacts across versions 2.4.0-2.4.17, 3.1.0-3.1.15, 3.2.0-3.2.10, and 4.0.0-4.0.3. The use of a fixed reply queue - as opposed to the default exclusive, auto-delete, temporary queue model - is a prerequisite deployment pattern.

Know when Spring Advanced Message Queuing Protocol gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 4.4 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Red Hat 4.4 MEDIUM

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Jun 10, 2026 - 02:01 EUVD

DescriptionCVE.org

Correlation IDs for replies in the RabbitTemplate.sendAndReceive() with the fixed reply queue are predictable due to internal simple counter.

Affected versions: Spring AMQP 4.0.0 through 4.0.3; 3.2.0 through 3.2.10; 3.1.0 through 3.1.15; 2.4.0 through 2.4.17.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in Spring AMQP Security Vulnerabilities

View all 2

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy