CVE-2026-41731: Spring for Apache Kafka · Deserialization of Untrusted Data
Affects Spring for Apache KafkaSource CVE Database V5
Not known to be exploited · CVSS 8.1 High · fixed in 4.0.5.1 : patch Spring for Apache Kafka soon.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.0.5.1, 3.3.15.1, 3.2.14 +2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring for Apache Kafka | Affected
| Fixed in
|
| SpringSpring for Apache Kafka | Affected
| Fixed in
|
| SpringSpring for Apache Kafka | Affected
| Fixed in
|
| SpringSpring for Apache Kafka | Affected
| Fixed in
|
| SpringSpring for Apache Kafka | Affected
| Fixed in
|
Mavenorg.springframework.kafka/spring-kafkapkg:maven/org.springframework.kafka/spring-kafkaOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, consider restricting or validating Kafka header inputs where possible and applying any vendor-recommended workarounds once available. Avoid trusting untrusted Kafka producers.
Description
JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper matched type headers against trusted packages using a prefix check, meaning that trusting any package implicitly trusted all of its subpackages. Combined with Jackson's default bean deserialization, a producer could supply crafted header values that caused the consumer to deserialize arbitrary JDK types. 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.