Intel

AIKIDO-2026-474902

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

Deserialization of Untrusted DataCVE-2026-47878 Published Aug 21, 2026

56

Medium Risk

This Affects:

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

TL;DR

spring-batch-core DefaultExecutionContextSerializer passes Base64-decoded bytes to ObjectInputStream.readObject() without an ObjectInputFilter. An attacker who can write execution-context bytes into the JDBC job repository can deserialize untrusted types. MongoDB and ResourcelessJobRepository are not affected. The patch restricts deserialization to a trusted class allow-list.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the JDBC job repository uses DefaultExecutionContextSerializer.

Background info

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

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform