Unsafe reflection in Spring for Apache Kafka - CVE-2026-59399

 

Unsafe reflection in Spring for Apache Kafka - CVE-2026-59399

Published: November 20, 2026


Vulnerability identifier: #VU168629
CSH Severity: Low
CVSS v4: 7.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59399
CWE-ID: CWE-470
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to make a Kafka consumer load classes from its classpath and cause listeners to receive data of an unexpected type.

The vulnerability exists due to unrestricted class selection in DelegatingDeserializer when processing Kafka record headers. A remote user can control the deserializer selector in records published to a topic the application consumes to trigger class loading outside the configured delegates or cause records to be deserialized with an unintended delegate.


Affected software

Spring for Apache Kafka

How to mitigate CVE-2026-59399

Install security update from vendor's website.

Spring for Apache Kafka - addressed in versions 2.8.14, 2.9.16, 3.3.18, 4.0.8.1, 4.0.9, 4.1.2.1, 4.1.3

External References

Related Security Bulletins