1. Accueil
  2. Vulnérabilités
  3. CVE-2026-59399

CVE-2026-59399

In Spring for Apache Kafka, DelegatingDeserializer allows header-driven arbitrary class loading and deserializer selection

Publiée le 2 déc. 2026 · modifiée le 2 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 37/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Spring (7 ligne(s))
Spring
ProduitVersionsCorrigé dansSource
for Apache Kafka de 4.1.0 (inclus) à 4.1.2.1 (exclu) — CNA (éditeur ou attributeur)
for Apache Kafka de 4.0.0 (inclus) à 4.0.8.1 (exclu) — CNA (éditeur ou attributeur)
for Apache Kafka de 3.0.0 (inclus) à 3.3.18 (exclu) — CNA (éditeur ou attributeur)
for Apache Kafka de 2.9.0 (inclus) à 2.9.16 (exclu) — CNA (éditeur ou attributeur)
for Apache Kafka avant 2.8.14 (exclu) — CNA (éditeur ou attributeur)
for Apache Kafka de 4.1.0 (inclus) à 4.1.3 (exclu) — CNA (éditeur ou attributeur)
for Apache Kafka de 4.0.0 (inclus) à 4.0.9 (exclu) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N (CVSS 3.1, CNA:vmware)

Comment sont obtenues et calculées ces données