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

MEDIUM | NOVEMBER 19, 2026 | CVE-2026-59434

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 Spring Products and Versions

Spring Cloud Kubernetes:

  • 5.0.0 - 5.0.4
  • 3.3.0 - 3.3.4
  • 3.1.0 - 3.2.4

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
5.0.5OSS
5.0.4.1Enterprise Support Only
3.3.5Enterprise Support Only
3.2.5Enterprise Support Only

No further mitigation steps are necessary.

History

  • 2026-11-19: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

TrueSource Spring Enterprise offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all