Medium · published August 27, 2026
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
| Product | Versions | Fixed in |
|---|---|---|
| broadcom/spring_batch | ≥ 5.0.0, < 5.2.7 | 5.2.7 |
| broadcom/spring_batch | ≥ 6.0.0, < 6.0.4.1 | 6.0.4.1 |