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

Published Aug 27, 2026
·
Updated

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

Affected Software

1 affected component
Spring Spring Batch>=6.0.0<=6.0.4, >=0<=5.2.6

Event History

Aug 27, 2026
CVE Published
via MITRE·05:20 AM
Data Sourced
via MITRE·05:20 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 AM
DescriptionSeverity

Frequently Asked Questions

1

Which deployments are exposed by default?

Deployments using Spring Batch's JDBC job repository are exposed because DefaultExecutionContextSerializer is used by default there. The affected ranges are Spring Batch 6.0.0 through 6.0.4 and 5.2.6 and earlier.

2

What does an attacker need to exploit this issue?

An attacker must be able to cause attacker-controlled serialized bytes to reach the JDBC job repository's execution-context deserialization path. Exploitation does not require authentication or user interaction, but the listed attack complexity is high.

3

What can be done if upgrading is not immediately possible?

Use a serializer or deserialization configuration that restricts permitted object types with a trusted class allowlist or ObjectInputFilter. The vulnerable behavior is the unrestricted use of ObjectInputStream.readObject() on Base64-decoded data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203