Deserialization of Untrusted Data in Spring Batch - CVE-2026-47878
Published: August 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to unsafe deserialization in DefaultExecutionContextSerializer when deserializing Base64-decoded data with ObjectInputStream.readObject() without a class allowlist. A remote attacker can supply a specially crafted serialized object to execute arbitrary code.
Only the JDBC job repository using this serializer is affected; the MongoDB backend and ResourcelessJobRepository are not affected.