CVE-2026-47878: DefaultExecutionContextSerializer, used by default in Spring Batch's JDBC job repository, passes Base64-decode
CVE-2026-47878 is a medium-severity flaw (CVSS 5.6) affecting spring batch. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.6 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 71%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2026-08-27 |
| Last modified | 2026-09-10 |
Last updated 2026-09-10 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- Spring Security Advisories: cve-2026-47878 - MEDIUM - Unsafe Java deserialization in DefaultExecutionContextSerializer without class allowlist 2026-08-20
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-47878?
spring batch: upgrade to 5.2.7, 6.0.4.1. Exact commands for each OS are on this page.
Is CVE-2026-47878 being exploited?
CVE-2026-47878 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-47878 affect?
CVE-2026-47878 affects spring batch. Severity is medium (CVSS 5.6). 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.
How urgent is CVE-2026-47878?
Priority 32/100. Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-47875 MEDIUM 5.6 UPGRADE Applications that deserialize execution contexts with Jackson2ExecutionContextStringSerializer are vulnerable
- CVE-2026-47881 MEDIUM 5.9 UPGRADE Spring Batch's FlatFileItemReader supports files where a single logical record spans multiple physical lines —