What’s Vulnerable › Vulnerabilities
CVE-2026-47878: Unsafe Java deserialization in DefaultExecutionContextSerializer without class allowlist
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-27 · updated 2026-09-10
- Weakness: CWE-502
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
- Spring Batch: from 5.0.0 before 5.2.7; from 6.0.0 before 6.0.4.1 — fixed in 5.2.7, 6.0.4.1
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