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.
References
| Link | Resource |
|---|---|
| https://spring.io/security/cve-2026-41731 | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2026-41731 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2487375 | Issue Tracking Third Party Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41731.json | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
History
No history.
Information
Published : 2026-06-10 00:16
Updated : 2026-08-05 13:22
NVD link : CVE-2026-41731
Mitre link : CVE-2026-41731
CVE.ORG link : CVE-2026-41731
JSON object : View
Products Affected
redhat
- fuse
- jboss_enterprise_application_platform_expansion_pack
vmware
- spring_for_apache_kafka
CWE
CWE-502
Deserialization of Untrusted Data
