What’s Vulnerable › Vulnerabilities

CVE-2026-47878: Unsafe Java deserialization in DefaultExecutionContextSerializer without class allowlist

Description

DefaultExecutionContextSerializer, used by default in Spring Batch's JDBC job repository, passes Base64-decoded bytes directly to ObjectInputStream.readObject() without an ObjectInputFilter that restricts types to a trusted class allowlist. Spring Batch 6.0.0 - 6.0.4 Spring Batch 5.2.6 and earlier

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-47878 or the next vulnerability affects your stack