CVE-2026-47878

Unsafe Java deserialization in DefaultExecutionContextSerializer without class allowlist

State
Published
Severity
5.6 Medium
Published
Aug 27, 2026
Updated
Aug 27, 2026
Reserved
May 20, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.15.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:Lvmware

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
Spring BatchSpring
  • 6.0.0 through 6.0.4Affected
  • 5.2.6 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.