5.6Medium

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

Spring Spring Batch Published: (2 months ago)

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

Weakness (CWE): CWE-502

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
broadcom spring batch 5.0.0 – < 5.2.7
Spring Spring Batch 6.0.0 – ≤ 6.0.4, ≤ 5.2.6

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:broadcom:spring_batch:*:*:*:*:*:*:*:* ≥ 5.0.0 < 5.2.7
  • cpe:2.3:a:broadcom:spring_batch:*:*:*:*:*:*:*:* ≥ 6.0.0 < 6.0.4.1