JobParameterDeserializer bypasses the trusted-type allowlist

MEDIUM | AUGUST 20, 2026 | CVE-2026-47875

Description

Applications that deserialize execution contexts with Jackson2ExecutionContextStringSerializer are vulnerable to a deserialization attack if they use an untrusted data source for the job repository. The JobParameterDeserializer does not properly enforce the trusted-types allowlist, allowing an attacker to craft malicious input that can lead to arbitrary code execution, including known Jackson RCE gadgets.

Affected Spring Products and Versions

Spring Batch:

  • 6.0.0 - 6.0.4
  • 5.2.0 - 5.2.6

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
6.0.5OSS
6.0.4.1Enterprise Support Only
5.2.7Enterprise Support Only

No further mitigation steps are necessary.

History

  • 2026-08-20: Initial vulnerability report published.

Get ahead

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

Learn more

Get support

Tanzu Spring 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