CVE-2026-59399
Received Received - Intake

DelegatingDeserializer Class Loading Vulnerability in Spring Kafka

Vulnerability report for CVE-2026-59399, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
vmware delegatingdeserializer *
vmware spring_for_apache_kafka From 4.1.0 (inc) to 4.1.2 (inc)
vmware spring_for_apache_kafka From 4.0.0 (inc) to 4.0.8 (inc)
vmware spring_for_apache_kafka From 3.0.0 (inc) to 3.3.17 (inc)
vmware spring_for_apache_kafka From 2.9.0 (inc) to 2.9.15 (inc)
vmware spring_for_apache_kafka to 2.8.13 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Spring for Apache Kafka's DelegatingDeserializer allows a malicious producer to control how records are deserialized by manipulating headers. The deserializer loads classes specified in headers without restrictions, potentially executing unexpected code or causing type confusion in consumers.

Detection Guidance

Check if your Spring for Apache Kafka application uses DelegatingDeserializer as the key or value deserializer. Inspect Kafka consumer configurations for affected versions (4.1.0 to 4.1.2, 4.0.0 to 4.0.8, 3.0.0 to 3.3.17, 2.9.0 to 2.9.15, and 2.8.13 or earlier).

Review Kafka topic configurations to identify topics where untrusted producers can publish messages. Monitor for unexpected class loading or deserialization errors in application logs.

Impact Analysis

If your application consumes Kafka records from untrusted topics using DelegatingDeserializer, an attacker could send specially crafted messages to execute arbitrary code, access sensitive data, or disrupt services by forcing unexpected deserialization behavior.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating confidentiality requirements in GDPR and HIPAA. Exploits may result in data breaches, triggering compliance violations and potential fines.

Mitigation Strategies

Upgrade to fixed versions of Spring for Apache Kafka where DelegatingDeserializer no longer loads classes from headers. Replace any reliance on dynamic delegate selection with explicit configuration of safe delegates.

Ensure only trusted producers can publish to Kafka topics used by vulnerable applications. Configure delegates using class names as selectors, such as java.lang.Long:org.apache.kafka.common.serialization.LongDeserializer.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59399. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...