CVE-2026-59401

LowCVSS 3.1/10Last modified Dec 2, 2026

Description

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 consumer's classpath, regardless of the trusted packages configuration. The impact depends on the side effects of the static initializers of the classes present on the classpath, such as resource allocation, driver registration, or blocking.

An application is affected if it consumes records from a topic that an attacker can produce to and maps inbound headers with JsonKafkaHeaderMapper or DefaultKafkaHeaderMapper , which is the default when Jackson is on the classpath.

Metrics

CVSS 3.1 3.1/10CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
SpringSpring for Apache Kafka>= 4.1.0, < 4.1.2.1; >= 4.0.0, < 4.0.8.1; >= 3.0.0, < 3.3.18; >= 2.9.0, < 2.9.16; < 2.8.14; >= 4.1.0, < 4.1.3; >= 4.0.0, < 4.0.9

References

Timeline

Published
Dec 2, 2026
Last modified
Dec 2, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-594036.5Every reply produced by an @AmqpListener method opens a new AMQP 1.0 sender link on the shared connection and never closes it. A peer able tCVE-2026-594046.5DefaultMessagePropertiesConverter recurses into nested List and Map header values when converting LongString instances, without any depth liCVE-2026-594052.2The XmppConnectionFactoryBean in Spring Integration XMPP builds an XMPPTCPConnectionConfiguration without setting a security mode, so Smack'CVE-2026-594066.5When mapping inbound record headers, JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper (used by the default message converters) deserializeCVE-2026-594075.5When building a container image on a POSIX platform using Buildpacks, layers in excess of approximately 4KB in size are written to a temporaCVE-2026-594085.0The start goal of Spring Boot's Maven plugin launches the application under test with JMX enabled. JMX is configured to accept remote connecCVE-2026-594095.5When running on a HotSpot JVM, calling the Actuator's heapdump endpoint causes it to write the JVM's heap to a temporary file that can be reCVE-2026-59417.1Parsing logic flaws cause non-signature data to be misidentified as valid signatures when processing malformed form field hierarchies, leadiCVE-2026-594106.8When an InetAddressFilter is used with the JDK HttpClient factory filtering only applies to the initial request. Redirect targets are never CVE-2026-594119.1When a Servlet-based web application that uses Actuator is deployed to Cloud Foundry, Spring Boot's default web security is disabled. ReactiCVE-2026-594125.3When an InetAddressFilter is has a '0 bits' mask it matches both IPv4 and IPv6 addresses. A filter of 0.0.0.0/0 should have only matched IPvCVE-2026-594135.3When accessing an actuator endpoint over HTTP that includes a @Selector method parameter it possible to set the value using a query paramete
CVE-2026-59401: Low severity, CVSS 3.1 | Vulnix