CVE-2026-59399 — Spring for Apache Kafka
One of 4 Spring for Apache Kafka vulnerabilities published together by NVD: our article covers all of them.
ApacheWebVulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.8
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality and integrity, none on availability
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Spring for Apache Kafka | ≥ 4.1.0, < 4.1.2.1 | 4.1.2.1 |
| ≥ 4.0.0, < 4.0.8.1 | 4.0.8.1 | |
| ≥ 3.0.0, < 3.3.18 | 3.3.18 | |
| ≥ 2.9.0, < 2.9.16 | 2.9.16 | |
| < 2.8.14 | 2.8.14 | |
| ≥ 4.1.0, < 4.1.3 | 4.1.3 | |
| ≥ 4.0.0, < 4.0.9 | 4.0.9 |
References by type
Other references
Affected
- Spring for Apache Kafka
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-59399?
DelegatingDeserializer selects the delegate deserializer for each record from the spring.kafka.serialization.selector (value) or spring.kafka.key.serialization.selector (key) header.
How severe is CVE-2026-59399?
CVE-2026-59399 has a CVSS 3.1 base score of 6.8 (medium), from the CNA (vmware.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-59399 being exploited?
Not as far as is known: CVE-2026-59399 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-59399?
Spring for Apache Kafka ≥ 4.1.0, < 4.1.2.1 (fixed in 4.1.2.1); Spring for Apache Kafka ≥ 4.0.0, < 4.0.8.1 (fixed in 4.0.8.1); Spring for Apache Kafka ≥ 3.0.0, < 3.3.18 (fixed in 3.3.18); Spring for Apache Kafka ≥ 2.9.0, < 2.9.16 (fixed in 2.9.16); and more, listed on this page.
How do I fix CVE-2026-59399?
Update to a fixed release: Spring for Apache Kafka 4.1.2.1; Spring for Apache Kafka 4.0.8.1; Spring for Apache Kafka 3.3.18.
Timeline & sources
References
Related vulnerabilities & news
- Apache OFBiz Ships Fixes for 32 CVEs Plus Related Flaw; Upgrade to 24.09.09 Advised
- Apache Knox Admin API flaw CVE-2026-134625 lets authenticated users write files outside intended paths
- Apache Knox LDAP Injection Flaw (CVE-2026-97633) Rated Critical; Upgrade to 2.1.1 or 3.0.0
- Critical Apache Knox KnoxSSO open redirect (CVE-2026-93920) fixed in 2.1.1 and 3.0.0
- Apache Knox JWT federation flaw lets authenticated users impersonate others (CVE-2026-92295)