cve.bz

CVE-2026-41731 Deserialization of Untrusted Data

8.1 highEPSS 0.5%Fix available

High (8.1). EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.kafka:spring-kafka 3.3.16, 4.0.6.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-06-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-41731 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-41731?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-41731?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-41731 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Spring for Apache Kafkafrom 4.0.0 before 4.0.5.1
Spring for Apache Kafkafrom 3.3.0 before 3.3.15.1
Spring for Apache Kafkafrom 3.2.0 before 3.2.14
Spring for Apache Kafkafrom 2.9.0 before 2.9.14
Spring for Apache Kafkafrom 2.8.0 before 2.8.12

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xq69-5h5v-x9x4Mavenorg.springframework.kafka:spring-kafka>=4.0.0 <4.0.64.0.6
GHSA-xq69-5h5v-x9x4Mavenorg.springframework.kafka:spring-kafka>=3.3.0 <3.3.163.3.16
GHSA-xq69-5h5v-x9x4Mavenorg.springframework.kafka:spring-kafka>=3.2.0 <=3.2.13no fix published
GHSA-xq69-5h5v-x9x4Mavenorg.springframework.kafka:spring-kafka>=2.9.0 <=2.9.13no fix published
GHSA-xq69-5h5v-x9x4Mavenorg.springframework.kafka:spring-kafka<=2.8.11no fix published

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Fuse 7spring-kafkaWill not fix
Red Hat JBoss Enterprise Application Platform Expansion Packspring-kafkaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-41731.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON