Intel

AIKIDO-2026-908402

spring-batch-core is vulnerable to Deserialization of Untrusted Data

Deserialization of Untrusted DataCVE-2026-47875 Published 6 days ago

56

Medium Risk

This Affects:

JAVAspring-batch-core
5.2.0 - 6.0.4
Fixed in 6.0.5
Are you affected? Scan for Free

TL;DR

spring-batch-core JobParameterDeserializer does not enforce the trusted-type allow-list used by Jackson2ExecutionContextStringSerializer. An attacker who can write untrusted job-repository data can instantiate unexpected types, including known Jackson gadget chains. That can lead to code execution during execution-context deserialization. The patch applies the allow-list to job parameter types.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and Jackson2ExecutionContextStringSerializer deserializes job execution context from an untrusted job repository.

Background info

spring-batch-core is vulnerable to Deserialization of Untrusted Data in versions 5.2.0 - 6.0.4.

How to fix this

Upgrade the org.springframework.batch:spring-batch-core library to the patch version.