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

- 種別: advisory
- 関連技術: spring, java
- CVE: CVE-2026-59399
- 公開日時: 2026-11-19T00:00:00.000Z
- 情報源: Spring Security Advisories (https://spring.io/security/cve-2026-59399)
- パーマリンク: https://vulnpulse.app/items/spring-security-b058e1413a6a

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…