Improper Input Validation in Spring Kafka Affects Messaging Infrastructure
CVE-2026-41727
6.5MEDIUM
What is CVE-2026-41727?
The Spring Kafka framework has a vulnerability within its retry topic infrastructure where user-controlled header values are not adequately validated. An attacker could utilize this flaw by crafting a malicious 'retry_topic-attempts' header, potentially providing an out-of-range attempt count. This could lead the retry topic router to incorrectly determine the message's position within the retry sequence, causing improper message handling and processing. Addressing this vulnerability is critical for maintaining the integrity and functionality of messaging systems.
Affected Version(s)
Spring for Apache Kafka 4.0.0 < 4.0.5.1
Spring for Apache Kafka 3.3.0 < 3.3.15.1
Spring for Apache Kafka 3.2.0 < 3.2.14
