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

 

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

Published: November 20, 2026


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

Vulnerability details

The vulnerability allows a remote user to bypass the trusted-package allowlist and potentially disrupt Kafka consumer operation.

The vulnerability exists due to insufficient validation of externally controlled class names in JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper when deserializing inbound Kafka record headers. A remote user can publish records to a topic read by the consumer to trigger loading of a class from the consumer's classpath and, with some Jackson versions, trigger static initialization that can consume resources or block processing.


Affected software

Spring for Apache Kafka

How to mitigate CVE-2026-59401

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