Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.kafka/spring-kafka
  4. ›
  5. CVE-2026-41727

CVE-2026-41727: Spring for Apache Kafka: Improper Validation of Retry Topic Header Values Leads to Retry Sequence Manipulation

June 10, 2026 (updated August 12, 2026)

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.

References

  • github.com/advisories/GHSA-53w6-v7cv-fc9h
  • github.com/spring-projects/spring-kafka/releases/tag/v3.3.16
  • github.com/spring-projects/spring-kafka/releases/tag/v4.0.6
  • nvd.nist.gov/vuln/detail/CVE-2026-41727
  • spring.io/security/cve-2026-41727

Code Behaviors & Features

Detect and mitigate CVE-2026-41727 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.8.11, all versions starting from 2.9.0 up to 2.9.13, all versions starting from 3.2.0 up to 3.2.13, all versions starting from 3.3.0 before 3.3.16, all versions starting from 4.0.0 before 4.0.6

Fixed versions

  • 3.3.16
  • 4.0.6

Solution

Upgrade to versions 3.3.16, 4.0.6 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/org.springframework.kafka/spring-kafka/CVE-2026-41727.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 10 Sep 2026 00:17:50 +0000.