CVE-2026-59399

MediumCVSS 6.8/10Last modified Dec 2, 2026

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.

Metrics

CVSS 3.1 6.8/10CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
SpringSpring for Apache Kafka>= 4.1.0, < 4.1.2.1; >= 4.0.0, < 4.0.8.1; >= 3.0.0, < 3.3.18; >= 2.9.0, < 2.9.16; < 2.8.14; >= 4.1.0, < 4.1.3; >= 4.0.0, < 4.0.9

References

Timeline

Published
Dec 2, 2026
Last modified
Dec 2, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-59405.5Calling a function that triggers a UI refresh after removing comments via a script may access an invalidated object, leading to program crasCVE-2026-594006.5ClientRegistration , Spring Security's representation of an OAuth2/OpenID Connect client registration, includes the confidential client secrCVE-2026-594013.1JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper check the header type requested in the spring_json_header_types header agaCVE-2026-594036.5Every reply produced by an @AmqpListener method opens a new AMQP 1.0 sender link on the shared connection and never closes it. A peer able tCVE-2026-594046.5DefaultMessagePropertiesConverter recurses into nested List and Map header values when converting LongString instances, without any depth liCVE-2026-594052.2The XmppConnectionFactoryBean in Spring Integration XMPP builds an XMPPTCPConnectionConfiguration without setting a security mode, so Smack'CVE-2026-594066.5When mapping inbound record headers, JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper (used by the default message converters) deserializeCVE-2026-594075.5When building a container image on a POSIX platform using Buildpacks, layers in excess of approximately 4KB in size are written to a temporaCVE-2026-594085.0The start goal of Spring Boot's Maven plugin launches the application under test with JMX enabled. JMX is configured to accept remote connecCVE-2026-594095.5When running on a HotSpot JVM, calling the Actuator's heapdump endpoint causes it to write the JVM's heap to a temporary file that can be reCVE-2026-59417.1Parsing logic flaws cause non-signature data to be misidentified as valid signatures when processing malformed form field hierarchies, leadiCVE-2026-594106.8When an InetAddressFilter is used with the JDK HttpClient factory filtering only applies to the initial request. Redirect targets are never
CVE-2026-59399: Medium severity, CVSS 6.8 | Vulnix