What’s Vulnerable › Vulnerabilities

CVE-2026-47875: JobParameterDeserializer bypasses the trusted-type allowlist

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. Spring Batch 6.0.0 - 6.0.4 Spring Batch 5.2.0 - 5.2.6

Affected products

How to fix

Upgrade to a fixed version: Spring Batch 5.2.7, 6.0.4.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-47875 or the next vulnerability affects your stack