CVE-2026-47878 PUBLISHED

Unsafe Java deserialization in DefaultExecutionContextSerializer without class allowlist

Assigner: vmware
Reserved: 20.05.2026 Published: 27.08.2026 Updated: 27.08.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

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS Score: 5.6

Product Status

Vendor Spring
Product Spring Batch
Versions Default: unaffected
  • affected from 6.0.0 to 6.0.4 (incl.)
  • affected from 0 to 5.2.6 (incl.)

References

Problem Types

  • CWE-502 Deserialization of Untrusted Data CWE

Impacts

  • 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.