Skip to content
Heist/ feed
Back to feed
Medium

Unsafe Java deserialization in DefaultExecutionContextSerializer without class allowlist

Type: advisorySources: OSV

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-47878
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:05 UTC · Revision 1

Source evidence

Unsafe Java deserialization in DefaultExecutionContextSerializer without class allowlist

core-osv · Original source

Published 27 Aug 2026, 05:20 UTC

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

osv:CVE-2026-47878
Complete source record
{
  "id": "3275861f62ab435f08c2cc5b9b1c506eb7b90e1222fb5540d8a9aabd5d562736",
  "url": "https://osv.dev/vulnerability/CVE-2026-47878",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Unsafe Java deserialization in DefaultExecutionContextSerializer without class allowlist",
    "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 allowlist. Spring Batch 6.0.0 - 6.0.4 Spring Batch 5.2.6 and earlier",
    "evidence": "osv:CVE-2026-47878",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-47878",
      "aliases": [
        "CVE-2026-47878"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-batch",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "39c91c1c47eb752a5e64eb612c5e411c5e7f86d8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "5.2.6"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.2.6",
            "v5.2.5",
            "v5.2.4",
            "v5.2.3",
            "v5.2.2",
            "v5.2.1",
            "v5.2.0",
            "v5.2.0-RC1",
            "v5.2.0-M2",
            "v5.2.0-M1",
            "v5.1.0",
            "v5.1.0-RC1",
            "v5.1.0-M3",
            "v5.1.0-M2",
            "v5.1.0-M1",
            "v5.0.2",
            "v5.0.1",
            "v5.0.0",
            "5.0.0-RC2",
            "5.0.0-RC1",
            "5.0.0-M8",
            "5.0.0-M7",
            "5.0.0-M6",
            "5.0.0-M5",
            "5.0.0-M4",
            "5.0.0-M3",
            "5.0.0-M2",
            "5.0.0-M1",
            "4.3.0",
            "4.3.0-RC1",
            "4.3.0-M2",
            "4.3.0-M1",
            "4.2.0.RELEASE",
            "4.2.0.RC1",
            "4.2.0.M3",
            "4.2.0.M2",
            "4.2.0.M1",
            "4.1.0.RELEASE",
            "4.1.0.RC1",
            "4.1.0.M3",
            "4.1.0.M2",
            "3.0.0.M3",
            "3.0.0.M2",
            "3.0.0.M1",
            "2.2.0.RELEASE",
            "2.2.0.RC2",
            "2.2.0.RC1",
            "2.2.0.M1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47878.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.020511258Z",
      "provider": "osv",
      "references": [
        "https://spring.io/security/cve-2026-47878",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47878.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-47878"
      ],
      "provider_metadata": {
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0.0"
                  },
                  {
                    "last_affected": "6.0.4"
                  },
                  {
                    "last_affected": "5.2.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47878.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-47878",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498209,
  "published_at": "2026-08-27T05:20:23.462+00:00"
}