CVE Watchtower

CVE-2026-59399Spring for Apache Kafka Improper Input Validation

Spring

Vulnerability Summary

In Spring for Apache Kafka, DelegatingDeserializer allows header-driven arbitrary class loading and deserializer selection. 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 receive data of an unexpected type, and can make the consumer load any class on its classpath. Combined with the selection of the configured delegates by the same header, this can let an attacker apply a delegate to data it was not intended for. An application is affected if it consumes records from a topic that an attacker can produce to and uses DelegatingDeserializer as the key or value deserializer. Affected artifact: org.springframework.kafka:spring-kafka.
Severity Level
MEDIUM(6.8)
Published Date
Nov 19, 2026
Last Modified
Nov 19, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required.
The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
CVSS v3.1 Base Metrics — Score 6.8 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Spring for Apache Kafka 4.1.0 through 4.1.2
  • Spring for Apache Kafka 4.0.0 through 4.0.8
  • Spring for Apache Kafka 3.0.0 through 3.3.17
  • Spring for Apache Kafka 2.9.0 through 2.9.15
  • Spring for Apache Kafka through 2.8.13
Patched Versions
  • Spring for Apache Kafka 4.1.3 (open source)
  • Spring for Apache Kafka 4.0.9 (open source)
  • Spring for Apache Kafka 4.1.2.1 (commercial support only)
  • Spring for Apache Kafka 4.0.8.1 (commercial support only)
  • Spring for Apache Kafka 3.3.18 (commercial support only)
  • Spring for Apache Kafka 2.9.16 (commercial support only)
  • Spring for Apache Kafka 2.8.14 (commercial support only)

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Spring for Apache Kafka and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 19, 2026Published
  • Nov 19, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Spring for Apache Kafka CVEsYou are reading CVE-2026-59399. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

External References

Data last checked: Nov 24, 2026 14:01 UTC