Skip to main content
Network Thinking Solutions Logo

CVE-2026-59401

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.

All CVEs
CVE-2026-59401Published 12/2/2026

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.

Vendor advisory
CVSS 3.13.1Low

Overview

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.

Published
12/2/2026
Last modified
12/2/2026
CVE assigner
vmware
NVD analysis
Awaiting Analysis

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Spring for Apache Kafka
Spring
≥ 4.1.0, < 4.1.2.1

Verify advisory

Source
Spring for Apache Kafka
Spring
≥ 4.0.0, < 4.0.8.1

Verify advisory

Source
Spring for Apache Kafka
Spring
≥ 3.0.0, < 3.3.18

Verify advisory

Source
Spring for Apache Kafka
Spring
≥ 2.9.0, < 2.9.16

Verify advisory

Source
Spring for Apache Kafka
Spring
< 2.8.14

Verify advisory

Source
Spring for Apache Kafka
Spring
≥ 4.1.0, < 4.1.3

Verify advisory

Source
Spring for Apache Kafka
Spring
≥ 4.0.0, < 4.0.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

3.1 · Low CVSS 3.1

Scored by vmware

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

3.1 · Low CVSS 3.1

Scored by security@vmware.com

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

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.