Skip to main content

Spring Kafka CVE-2026-41727

| EUVDEUVD-2026-35904 MEDIUM
Improper Input Validation (CWE-20)
2026-06-10 security@vmware.com GHSA-53w6-v7cv-fc9h
6.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege Kafka producer credentials
  2. Delivery
    Identify topic consumed by Spring Kafka app with retry topic infrastructure
  3. Exploit
    Craft message with out-of-range retry_topic-attempts header
  4. Execution
    Publish crafted record to target topic
  5. Persist
    Retry router misidentifies retry sequence position
  6. Impact
    Message processing pipeline availability disrupted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires three concrete conditions to be simultaneously true: (1) the target Spring Kafka application must be configured to use the non-blocking retry topic infrastructure, specifically via @RetryableTopic annotation or programmatic RetryTopicConfiguration - applications using only blocking retry or no retry logic are not affected; (2) the attacker must hold low-privilege Kafka producer credentials (PR:L per CVSS vector) with WRITE permission to a topic consumed by the vulnerable application - unauthenticated or anonymous producers cannot exploit this; and (3) the attacker must be able to set arbitrary Kafka message headers, which is standard behavior for any authenticated Kafka producer client. Exploitation is limited by: the opt-in nature of non-blocking retry topic configuration (not enabled by default in all Spring Kafka deployments), the requirement for authenticated producer access (PR:L), and the absence of confidentiality or integrity impact (C:N/I:N) - the effect is availability disruption of the message processing pipeline, not data exfiltration or code execution.

Impact

CVSS 6.5 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H indicates a network-exploitable denial-of-availability condition requiring only low-privilege authentication with low attack complexity and no user interaction. The high availability impact (A:H) is the sole impact dimension - confidentiality and integrity are unaffected. Notably, the input tags classify this as 'Information Disclosure,' which directly contradicts the CVSS vector showing C:N; this discrepancy should be verified against the vendor advisory before communicating impact to stakeholders. EPSS data was not provided, limiting probabilistic exploitation forecasting. The vulnerability is not listed in CISA KEV, and no public exploit code has been identified, suggesting real-world exploitation risk is currently lower than the CVSS score alone might imply. The practical blast radius depends heavily on whether the target application uses Spring Kafka's non-blocking retry topic infrastructure, which is an opt-in feature - deployments not using @RetryableTopic or equivalent configuration are not exposed. Overall, this is a medium-priority issue for organizations running Spring Kafka with retry topic infrastructure enabled, elevated if the Kafka cluster is accessible to partially-trusted or external producers.

Exploit ScenarioDerived

An attacker with low-privilege Kafka producer credentials - such as a compromised internal service account or a malicious tenant in a multi-tenant Kafka cluster - publishes a message to a topic consumed by a Spring Kafka application that has non-blocking retry topic infrastructure enabled. The message carries a crafted retry_topic-attempts header set to a large out-of-range integer, causing the retry topic router to misidentify the message's position in the retry sequence and misroute or indefinitely loop it, degrading or halting message processing for that topic. No public exploit code has been identified at time of analysis, but the attack requires only the ability to produce a valid Kafka message with a custom header, which is trivially achievable with any standard Kafka client library.

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

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

Alert me

AnalysisAIv1 – Jun 10, 2026

Improper input validation in Spring for Apache Kafka's non-blocking retry topic infrastructure allows an authenticated network producer to disrupt message processing availability across multiple major version lines. By injecting a crafted retry_topic-attempts header with an out-of-range integer value, an attacker causes the retry topic router to misidentify the message's position in the retry sequence, producing high availability impact (A:H per CVSS). Affected deployments span Spring for Apache Kafka 2.8.x through 4.0.x. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis.

RemediationAI

Consult the vendor advisory at https://spring.io/security/cve-2026-41727 for exact patched release versions across each affected branch (4.0.x, 3.3.x, 3.2.x, 2.9.x, 2.8.x); specific fix versions were not present in the provided data and upgrading to the next available release above the affected range for each branch is the primary recommended action. As a compensating control while patching, restrict Kafka ACLs so that only explicitly trusted, internal producers hold WRITE permissions on topics whose consumers use non-blocking retry topic infrastructure - this eliminates the ability of untrusted or partially-trusted producers to inject crafted headers. A second compensating option is to deploy a Kafka Streams or interceptor-based header sanitization layer that validates and clamps the retry_topic-attempts header value before records reach the Spring Kafka consumer; this adds operational complexity but does not require disabling retry functionality. If neither upgrade nor ACL restriction is immediately feasible, disabling the non-blocking retry topic feature and falling back to blocking retry (or a dead-letter topic with manual inspection) eliminates the vulnerable code path entirely, at the cost of losing retry throughput isolation.

Affected VersionsENISA

Spring For Apache Kafka 2.8.0 <2.8.12
Spring For Apache Kafka 3.2.0 <3.2.14
Spring For Apache Kafka 4.0.0 <4.0.6
Spring For Apache Kafka 2.9.0 <2.9.14
Spring For Apache Kafka 3.3.0 <3.3.16

Affected Packages

maven org.springframework.kafka:spring-kafka fix: 3.3.16, 4.0.6
euvd spring_for_apache_kafka fix: 2.8.12, 2.9.14, 3.2.14, 3.3.16, 4.0.6

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 for Apache Kafka's non-blocking retry topic feature routes failed messages through a series of progressively delayed retry topics by reading the retry_topic-attempts Kafka message header, a user-controlled string that encodes how many processing attempts have been made. The library uses this header to determine which retry topic to route the message to next without independently tracking state server-side. The root cause is CWE-20 (Improper Input Validation): the header value is consumed from the untrusted message payload without sufficient range or type validation before being used in routing logic. No CPE strings were provided in the input data; affected products are identified by version range only: Spring for Apache Kafka 4.0.0-4.0.5, 3.3.0-3.3.15, 3.2.0-3.2.13, 2.9.0-2.9.13, and 2.8.0-2.8.11. The vulnerability was reported by security@vmware.com, consistent with Spring's ownership under Broadcom/VMware.

Know when Spring For Apache Kafka 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 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (vmware) · only source for this CVE.

CVSS VectorVendor: vmware

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

Lifecycle Timeline

2
Patch available
Jun 10, 2026 - 02:01 EUVD
CVE Published
Jun 10, 2026 - 00:16 nvd
MEDIUM 6.5

DescriptionCVE.org

Spring Kafka's retry topic infrastructure did not sufficiently validate user-controlled header values before acting on them. A producer could send a record with a crafted retry_topic-attempts header to supply an out-of-range attempt count and cause the retry topic router to misidentify where the message was in the retry sequence.

Affected versions: Spring for Apache Kafka 4.0.0 through 4.0.5; 3.3.0 through 3.3.15; 3.2.0 through 3.2.13; 2.9.0 through 2.9.13; 2.8.0 through 2.8.11.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 32 maven packages depend on org.springframework.kafka:spring-kafka (10 direct, 22 indirect)

Ecosystem-wide dependent count for version 4.0.0.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Data Quality
6 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.1%
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

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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 Kafka Deserialization and Validation Flaws

View all 3

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