← Vulnerabilities

AdvisorySpringJava

cve-2026-59399 - MEDIUM - In Spring for Apache Kafka, DelegatingDeserializer allows header-driven arbitrary class loading and deserializer selection

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 rec…

Read on Spring Security Advisories

On 11/19/2026, 09:00 AM, Spring Security Advisories published "cve-2026-59399 - MEDIUM - In Spring for Apache Kafka, DelegatingDeserializer allows header-driven arbitrary class loading and deserializer selection" (type: Advisory). Related technologies: Spring, Java. CVE: CVE-2026-59399.