Home / Spring / Spring for Apache Kafka / CVE-2026-59401
CVE-2026-59401: is it exploited, and which versions of Spring for Apache Kafka are affected and fixed?
CVE-2026-59401 is a vulnerability in Spring for Apache Kafka. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: Spring for Apache Kafka from 4.1.0 before 4.1.2.1, Spring for Apache Kafka from 4.0.0 before 4.0.8.1, Spring for Apache Kafka from 3.0.0 before 3.3.18 and 4 more (CVE record by vmware). Fixed in 4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16 and 2 more (CVE record by vmware). Severity: Low (3.1, CVSS 3.1, from vmware).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record December 2, 2026, 07:30 UTC and NVD December 2, 2026, 20:13 UTC.
What is CVE-2026-59401?
In Spring for Apache Kafka, trusted-package allowlist bypass via java.lang.Class header type allows arbitrary class initialization
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.
From the CVE record by vmware, last updated December 2, 2026, 07:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring | Spring for Apache Kafka | from 4.1.0 before 4.1.2.1 from 4.0.0 before 4.0.8.1 from 3.0.0 before 3.3.18 from 2.9.0 before 2.9.16 before 2.8.14 from 4.1.0 before 4.1.3 from 4.0.0 before 4.0.9 | 4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16, 2.8.14, 4.1.3, 4.0.9 |
As the CVE record by vmware states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-59401?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L | vmware |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-59401 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 39.0 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://spring.io/security/cve-2026-59401
- https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L&version=3.1
When was it published, and where is the official record?
- Reserved
- July 4, 2026
- Published
- December 2, 2026, 07:11 UTC
- CVE record updated
- December 2, 2026, 07:11 UTC by vmware
- NVD
- Awaiting Analysis, last modified December 2, 2026, 19:26 UTC
- Last checked
- CVE list December 2, 2026, 07:30 UTC; NVD December 2, 2026, 20:13 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring for Apache Kafka?
- Dec 2, 2026CVE-2026-59432 Spring for Apache Kafka: uncontrolled recursion
- Dec 2, 2026CVE-2026-59406 Spring for Apache Kafka
- Dec 2, 2026CVE-2026-59399 Spring for Apache Kafka
- Aug 27, 2026CVE-2026-59317 Spring for Apache Kafka: quantity not validated
- Aug 27, 2026CVE-2026-59278 Spring for Apache Kafka: server-side request forgery (SSRF)
- Jun 9, 2026CVE-2026-41731 Spring for Apache Kafka: deserialization of untrusted data
- Jun 9, 2026CVE-2026-41727 Spring for Apache Kafka: improper input validation
- Jun 9, 2026CVE-2026-41726 Spring for Apache Kafka: denial of service (resources allocated without limits)
Every CVE in Spring for Apache Kafka
Questions about CVE-2026-59401
Is CVE-2026-59401 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring for Apache Kafka are affected by CVE-2026-59401?
Spring for Apache Kafka from 4.1.0 before 4.1.2.1, Spring for Apache Kafka from 4.0.0 before 4.0.8.1, Spring for Apache Kafka from 3.0.0 before 3.3.18, Spring for Apache Kafka from 2.9.0 before 2.9.16, Spring for Apache Kafka before 2.8.14, Spring for Apache Kafka from 4.1.0 before 4.1.3 and 1 more, per the CVE record by vmware. The tables above give every range the sources list.
Which version fixes CVE-2026-59401?
4.1.2.1, 4.0.8.1, 3.3.18, 2.9.16, 2.8.14 and 4.1.3, per the CVE record by vmware. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-59401?
Low (3.1, CVSS 3.1, from vmware). The severity table above shows each score with its source.
Where is the official record of CVE-2026-59401?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.