CVE-2026-41731 Details
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.
A vulnerability exists in Spring for Apache Kafka in versions 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, and 2.8.0 through 2.8.11. The issue arises in the JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper, which matched type headers against trusted packages using a prefix check. This approach allowed a producer to send crafted header values that could cause the consumer to deserialize arbitrary JDK types. Some of these types have constructors that can trigger side effects, such as allocating file descriptors or spawning thread pools.
Users should upgrade to Spring for Apache Kafka versions 4.0.6, 3.3.16, 3.2.14, 2.9.14, or 2.8.12. Instructions for upgrading to the commercial versions are available on the Spring Enterprise website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-41731 | redhat-SADP | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2487375 | redhat-SADP | Issue TrackingThird Party Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41731.json | redhat-SADP | Third Party Advisory |
| https://spring.io/security/cve-2026-41731 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | redhat-SADP |
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vmware spring for apache kafka | >= 2.8.0, < 2.8.12 >= 2.9.0, < 2.9.14 >= 3.2.0, < 3.2.14 >= 3.3.0, < 3.3.15.1 >= 4.0.0, < 4.0.5.1 |
CPE
Remediation
| |
| redhat fuse | 7.0.0 |
CPE
Remediation
| |
| redhat jboss enterprise application platform expansion pack | All versions |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | CVE Modified | redhat-SADP |
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jul 17, 2026 | Modified Analysis | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 27, 2026 | CVE Modified | [email protected] |
| Jun 22, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 10, 2026 | New CVE Received | [email protected] |