Intel

AIKIDO-2026-11174

spring-kafka is vulnerable to Improper Input Validation

CVE-2026-41727Published Jun 12, 2026
June 12, 2026

65

CVE Score

Medium

Improper Input Validation

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.

How do I fix this?

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

Who does this affect?

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

Versions

0.0.1 - 3.3.15

Fixed in 3.3.16

4.0.0 - 4.0.5

Fixed in 4.0.6

Background info

spring-kafka is vulnerable to Improper Input Validation in versions 0.0.1 - 3.3.15 and 4.0.0 - 4.0.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea