{"id":"spring-security-d892547c956c","seq":10054091,"kind":"advisory","title":"cve-2026-59401 - LOW - In Spring for Apache Kafka, trusted-package allowlist bypass via java.lang.Class header type allows arbitrary class initialization","url":"https://spring.io/security/cve-2026-59401","permalink":"https://vulnpulse.app/items/spring-security-d892547c956c","summary":"JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper check the header type requested in the spring_json_header_types header against the mapper's trusted packages before deserializing a header value. Because java.lang is trusted by default, the type java.lang.Class passes this check. Deserializing a java.lang.Class header resolves the header value as a class name and loads that class, but the class named in the value is not subject to the trusted packages check. A malicious producer can use this to make the consumer load, and with some Jackson versions initialize, any class on the…","severity":null,"cvss":null,"techs":["spring","java"],"cves":["CVE-2026-59401"],"tags":["security"],"source":{"id":"spring-security","name":"Spring Security Advisories"},"published_at":"2026-11-19T00:00:00.000Z","fetched_at":"2026-11-25T00:45:50.967Z"}