Unsafe reflection in Spring for Apache Kafka - CVE-2026-59399
Published: November 20, 2026
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.