---
id: CVE-2026-47878
title: >-
  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 allowli…
summary: >-
  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 allowli…
severity: medium
cvss: 5.6
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-502
vendor: broadcom
product: spring_batch
affected:
  - 'spring_batch >= 5.0.0, < 5.2.7'
  - 'spring_batch >= 6.0.0, < 6.0.4.1'
patched:
  - spring_batch 6.0.4.1
published: '2026-08-27'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T15:28:35.153'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47878'
references:
  - url: 'https://spring.io/security/cve-2026-47878'
    label: security@vmware.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-08-27T14:30:21.504502Z'
ingestedAt: '2026-09-14T11:51:51.070Z'
epss: 0.00352
epssPercentile: 0.26061
---

## Overview

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

- `spring_batch >= 5.0.0, < 5.2.7`
- `spring_batch >= 6.0.0, < 6.0.4.1`

## Remediation

Upgrade past the affected range:

- `spring_batch 6.0.4.1`
