CVE-2026-59434 PUBLISHED

Remote Code Execution In Spring Cloud Kubernetes via ConfigMap/Secret YAML

Assigner: vmware
Reserved: 04.07.2026 Published: 02.12.2026 Updated: 02.12.2026

Spring Cloud Kubernetes parses ConfigMap and Secret entries ending in .yaml with a SnakeYAML Yaml instance created without a SafeConstructor or any type restrictions.

If the application's classpath contains a SnakeYAML version earlier than 2.0, an attacker with write access to a ConfigMap or Secret that the application reads can supply a YAML payload that instantiates arbitrary Java types.

Metrics

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

Product Status

Vendor Spring
Product Spring Cloud Kubernetes
Versions
  • affected from 5.0.0 to 5.0.4.1 (excl.)
  • affected from 3.3.0 to 3.3.5 (excl.)
  • affected from 3.1.0 to 3.2.5 (excl.)
  • affected from 5.0.0 to 5.0.5 (excl.)

References