Description
Applications that deserialize execution contexts with Jackson2ExecutionContextStringSerializer are vulnerable to a deserialization attack if they use an untrusted data source for the job repository. The JobParameterDeserializer does not properly enforce the trusted-types allowlist, allowing an attacker to craft malicious input that can lead to arbitrary code execution, including known Jackson RCE gadgets.
Spring Batch 6.0.0 - 6.0.4
Spring Batch 5.2.0 - 5.2.6
Published: 2026-08-27
Score: 5.6 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates in the JobParameterDeserializer component used by Spring Batch to deserialize execution contexts. When an application allows an untrusted data source to provide job repository data, the deserializer does not enforce the trusted-types allowlist, enabling an attacker to construct malicious input. If executed, this malicious input can trigger arbitrary code execution through known Jackson RCE gadgets.

Affected Systems

Affected products include Spring Batch version 6.0.0 through 6.0.4 and 5.2.0 through 5.2.6. These versions were identified by the CNA as vulnerable. The flaw exists in all builds of these releases that use Jackson2ExecutionContextStringSerializer for the job repository.

Risk and Exploitability

The CVSS score of 5.6 indicates a moderate severity, and the EPSS score is not available, so the current exploitation probability is unknown. The vulnerability is not listed in the CISA KEV catalog, but the potential for arbitrary code execution is significant. An attacker would need to supply crafted serialized data to the job repository; if successful, they could execute code with the privileges of the application.

Generated by OpenCVE AI on August 27, 2026 at 07:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Spring Batch to version 6.0.5 or later, or to 5.2.7 or later, which resolves the deserialization flaw.
  • Limit the job repository to trusted data sources only so that untrusted serialized input cannot be deserialized.
  • Validate or sanitize the serialized job data prior to deserialization to enforce the trusted‑type allowlist and discard malformed payloads.

Generated by OpenCVE AI on August 27, 2026 at 07:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 27 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-502

Thu, 27 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description Applications that deserialize execution contexts with Jackson2ExecutionContextStringSerializer are vulnerable to a deserialization attack if they use an untrusted data source for the job repository. The JobParameterDeserializer does not properly enforce the trusted-types allowlist, allowing an attacker to craft malicious input that can lead to arbitrary code execution, including known Jackson RCE gadgets. Spring Batch 6.0.0 - 6.0.4 Spring Batch 5.2.0 - 5.2.6
Title JobParameterDeserializer bypasses the trusted-type allowlist
References
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-27T05:21:29.079Z

Reserved: 2026-05-20T10:00:58.694Z

Link: CVE-2026-47875

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T06:17:17.250

Modified: 2026-08-27T06:17:17.250

Link: CVE-2026-47875

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T07:30:18Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data