Intel

AIKIDO-2026-11174

spring-kafka is vulnerable to Improper Input Validation

Improper Input ValidationCVE-2026-41727 Published Today

65

Medium Risk

This Affects:

JAVAspring-kafka
0.0.1 - 2.8.11
Fixed in 2.8.12
2.9.0 - 2.9.13
Fixed in 2.9.14
3.0.0 - 3.2.13
Fixed in 3.2.14
3.3.0 - 3.3.15
Fixed in 3.3.15.1
4.0.0 - 4.0.5
Fixed in 4.0.5.1
Are you affected? Scan for Free

TL;DR

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. Separately, the retry_topic_backoff-timestamp header was accepted without bounds checking, meaning a forged timestamp could instruct the backoff manager to impose an arbitrarily long pause, stalling the listener far beyond any intended retry window.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

spring-kafka is vulnerable to Improper Input Validation in versions 0.0.1 - 2.8.11, 2.9.0 - 2.9.13, 3.0.0 - 3.2.13, 3.3.0 - 3.3.15 and 4.0.0 - 4.0.5.

How to fix this

Upgrade the org.springframework.kafka:spring-kafka library to the patch version.