MODERATE

CVE-2026-59434

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

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.cloud » spring-cloud-kubernetes-commons
>= 3.1.0, <= 3.2.4>= 3.3.0, <= 3.3.4>= 5.0.0, < 5.0.5
5.0.5

Blast radius

1affected artifacts
23affected versions
40dependent artifacts (est.)
777dependent versions

35% of the dependent artifacts (14) still pull an affected version in their latest release.

DepthDependent versions
Direct
92
2 hops
188
3 hops
269
4 hops
228

Most used dependents

Computed from the dependency graph of build 20261202.0245 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.