All reports
Medium

org.springframework.batch/spring-batch-core: Spring Batch: Arbitrary code execution via deserialization vulnerability

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-47875

Probability of exploitation in the next 30 days: 0.43%

FIRST EPSS · 2026-11-23

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

A flaw was found in Spring Batch. 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 component does not properly enforce the trusted-types allowlist. This allows a remote attacker to craft malicious input, which can lead to arbitrary code execution.