Header-driven class loading in Spring for Apache Kafka deserializer
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Spring for Apache Kafka from 0 before 2.8.14, from 2.9.0 before 2.9.16, from 3.0.0 before 3.3.18, from 4.0.0 before 4.0.8.1 and from 4.1.0 before 4.1.2.1 are affected. DelegatingDeserializer loads any class named in the spring.kafka.serialization.selector or spring.kafka.key.serialization.selector header when no configured delegate matches, and uses Kafka's standard deserializers for types such as String or Long. A remote attacker with low privileges who can produce to a consumed topic can choose how records are deserialized and make the consumer load any class on its classpath, so listeners receive data of an unexpected type.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
DelegatingDeserializer selects the delegate deserializer for each record from the spring.kafka.serialization.selector (value) or spring.kafka.key.serialization.selector (key) header. When the selector matched no configured delegate, it loaded the class named in the header, without any restriction, and, for a type supported by Kafka's Serdes (such as String or Long ), deserialized the record with the corresponding standard deserializer. Since the producer sets the header, a malicious producer can choose how records are deserialized, regardless of the configured delegates, so that listeners receive data of an unexpected type, and can make the consumer load any class on its classpath. Combined with the selection of the configured delegates by the same header, this can let an attacker apply a delegate to data it was not intended for. An application is affected if it consumes records from a topic that an attacker can produce to and uses DelegatingDeserializer as the key or value deserializer.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring for Apache Kafka | 4.1.0 to before 4.1.2.1; 4.0.0 to before 4.0.8.1; 3.0.0 to before 3.3.18; 2.9.0 to before 2.9.16; before 2.8.14; 4.1.0 to before 4.1.3; 4.0.0 to before 4.0.9 | 4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16, 2.8.14, 4.1.3, 4.0.9 | Patch available | CNA |
- Spring for Apache Kafka VendorVMware Affected 4.1.0 to before 4.1.2.1; 4.0.0 to before 4.0.8.1; 3.0.0 to before 3.3.18; 2.9.0 to before 2.9.16; before 2.8.14; 4.1.0 to before 4.1.3; 4.0.0 to before 4.0.9 Fixed in 4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16, 2.8.14, 4.1.3, 4.0.9 Patch available CNA
Remediation
Upgrade Spring for Apache Kafka to 4.1.2.1, 4.1.3, 4.0.8.1, 4.0.9, 3.3.18, 2.9.16 or 2.8.14. CISA does not list this vulnerability in its Known Exploited Vulnerabilities catalog.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
- Fix · CNA Spring for Apache Kafka (Spring) Fixed in 4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16, 2.8.14, 4.1.3, 4.0.9
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Spring for Apache Kafka 2.8.14, 2.9.16 and 5 more versions
4 records Highest priority Priority MEDIUM 3 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-102003 Denial of service in Spring for Apache Kafka via crafted headersPriority MEDIUM 44
- TI-2026-101983 Denial of service in Spring for Apache Kafka header mappingPriority MEDIUM 44
- TI-2026-101979 Trusted package bypass in Spring for Apache Kafka header mapperPriority LOW 30
Timeline
- 2026-12-02 Threatist record created from CVE-2026-59399
- 2026-12-02 Alias added: GHSA-259x-fhqm-3f9q
References
More VMware vulnerabilities
- TI-2026-94633 Authentication bypass in VMware vCenter Directory Service KEVCVSS 3.1CRITICAL 9.8
- TI-2026-42442 Directory traversal in VMware vCenter Syslog server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 VMware vCenter Server privilege escalation to root via network packet KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap overflow in VMware vCenter Server lets attackers run code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Heap overflow in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 Out-of-bounds write in VMware vCenter Server DCERPC implementation KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-59399 · CVE Program
- CVE-2026-59399 · NVD
- GHSA-259x-fhqm-3f9q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences