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.
CVE-2026-59434
CVSS base score
4.4 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-502
Last modified
December 2, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N