CVE-2026-41731: In Spring for Apache Kafka, overly broad trusted-package matching in header mappers exposes JDK classes to deserialization
CVE-2026-41731 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 8.1 (Red Hat), 8.1 (VMware)
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H· base score 8.1, scored by vmwareAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-502: Deserialization of Untrusted Data
- EPSS
- 0.51% chance of exploitation in the next 30 days (44th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- Fixed releases
- VMware: 4.0.5.1, 3.3.15.1, 3.2.14, 2.9.14, 2.8.12
- Assigned by
- vmware (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-41731; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2026-41731?
The source names the versions below but does not confirm which products they belong to. Check the VMware advisory before you decide.
| Versions named | Fixed in |
|---|---|
| VMware: 4.0.0 | 4.0.5.1 |
| VMware: 4.0.5 | 4.0.5.1 |
| VMware: 3.3.0 | 3.3.15.1 |
| VMware: 3.3.15 | 3.3.15.1 |
| VMware: 3.2.0 | 3.2.14 |
| VMware: 3.2.13 | 3.2.14 |
| VMware: 2.9.0 | 2.9.14 |
| VMware: 2.9.13 | 2.9.14 |
| VMware: 2.8.0 | 2.8.12 |
| VMware: 2.8.11 | 2.8.12 |
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.
Text from the CVE.org record (vmware).
How do I fix CVE-2026-41731?
Upgrade to a fixed release named by the vendor:
- VMware: 4.0.5.1, 3.3.15.1, 3.2.14, 2.9.14, 2.8.12
- Red Hat rates this important; a fix erratum may not be out yet — apply the RHSA as soon as it publishes. (Red Hat)
- Upgrade to a fixed release: 4.0.5.1, 3.3.15.1, 3.2.14, 2.9.14, 2.8.12 or later. (VMware)
Vendor advisories for CVE-2026-41731
Red Hat
1 advisory- Advisory severityHigh8.1
High [CVE-2026-41731] Spring for Apache Kafka: Arbitrary code execution via insecure deserialization of crafted header values
CVE-2026-41731Source published
Spring for Apache Kafka: Arbitrary code execution via insecure deserialization of crafted header values. Red Hat rates this important (CVSS 8.1). Weakness: CWE-502. No fix erratum has been published yet; monitor the Red Hat CVE page and apply the RHSA when released.
- Affected products in this advisory
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- Red Hat rates this important; a fix erratum may not be out yet — apply the RHSA as soon as it publishes.
VMware
1 advisory- Advisory severityHigh8.1
High [CVE-2026-41731] JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper matched type headers against trusted packages using a prefix…
CVE-2026-41731Source published Source updated
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.
- Related products — impact not confirmed
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- 4.0.0
- 4.0.5
- 3.3.0
- 3.3.15
6 more entries in the full advisory.
- Source-reported fixed versions
- 4.0.5.1
- 3.3.15.1
- 3.2.14
- 2.9.14
1 more entries in the full advisory.
- Mitigation guidance
- Upgrade to a fixed release: 4.0.5.1, 3.3.15.1, 3.2.14, 2.9.14, 2.8.12 or later.
References
Timeline
- First vendor advisory listed by VulniPulse
- CVE record published
- CVE record last updated
More Red Hat advisories
CVE-2026-34197Apr 7, 2026RCE via crafted discovery URI in Jolokia JMX-HTTP bridgeCVE-2026-125350Nov 10, 2026Use after free in XMLCVE-2026-114713Nov 8, 2026Command injection via unescaped message tagCVE-2026-90436Nov 6, 2026Remote code execution via insecure deserialization of SOAP fault messagesCVE-2026-123158Nov 5, 2026Password authentication bypass via password hash misinterpretationCVE-2026-115731Nov 3, 2026authenticated remote code execution via report event deserialization
Get an email when Red Hat publishes the next one.
See Red Hat's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.