CVE-2026-41862

Published Jun 23, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
Spring Statemachine's Kryo-based persistence backends (JPA, MongoDB, Redis and ZooKeeper) deserialise persisted state-machine contexts without enforcing a class allowlist (CWE-502, deserialisation of untrusted data), which can lead to remote code execution inside the application JVM.

Affected versions:
Spring Statemachine 4.0.0 through 4.0.1
Spring Statemachine 3.2.0 through 3.2.4

Analysis

AI-generated

Technical impact

Spring Statemachine’s Kryo‑based persistence backends (JPA, MongoDB, Redis, ZooKeeper) deserialize persisted state‑machine contexts without enforcing a class allowlist. This flaw, identified as CWE‑502, allows an attacker to supply a crafted serialized payload that is executed within the application JVM, leading to remote code execution. The vulnerability is a classic case of deserialisation of untrusted data.

Affected Systems

The affected product is Spring Statemachine provided by the Spring framework. Versions 4.0.0 through 4.0.1 and 3.2.0 through 3.2.4 are vulnerable.

Risk and Exploitability

The CVSS score of 8.8 indicates a high‑severity flaw. The EPSS score is not available, so the current exploitation probability is unknown, but the lack of a class allowlist provides a clear attack surface. The vulnerability is not listed in CISA’s KEV catalog, suggesting no publicly known exploits as of now. However, the likely attack vector involves an adversary inserting malicious serialized data into one of the supported persistence backends; if this data is later deserialized by the application, arbitrary code will run with the JVM’s privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Spring Statemachine to a version that implements a class allowlist (for example, 4.0.2 or later, or 3.2.5 or later)
  • If an upgrade is not immediately feasible, disable Kryo‑based persistence backends or purge any existing persisted state to prevent deserialization of malicious data
  • Configure the application to restrict deserialization to a trusted whitelist of classes or use a security manager to enforce scope limits

Generated by OpenCVE AI on June 24, 2026 at 09:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-85qj-f5wg-rwp9 Spring Statemachine's Kryo-based persistence backends deserialize persisted state-machine contexts without enforcing a class allowlist
References
History
Type Values Removed Values Added
First Time appeared Broadcom
Broadcom spring Statemachine
CPEs cpe:2.3:a:broadcom:spring_statemachine:*:*:*:*:*:*:*:*
Vendors & Products Broadcom
Broadcom spring Statemachine
Type Values Removed Values Added
First Time appeared Spring
Spring spring Statemachine
Vendors & Products Spring
Spring spring Statemachine
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Deserialization Without Class Allowlist in Spring Statemachine Enables Remote Code Execution
Type Values Removed Values Added
Title Deserialization Without Class Allowlist in Spring Statemachine Enables Remote Code Execution
Type Values Removed Values Added
Title Unrestricted Deserialization in Spring Statemachine Persistence Backends
Type Values Removed Values Added
Title Unrestricted Deserialization in Spring Statemachine Persistence Backends
Type Values Removed Values Added
Description Spring Statemachine's Kryo-based persistence backends (JPA, MongoDB, Redis and ZooKeeper) deserialise persisted state-machine contexts without enforcing a class allowlist (CWE-502, deserialisation of untrusted data), which can lead to remote code execution inside the application JVM. Affected versions: Spring Statemachine 4.0.0 through 4.0.1 Spring Statemachine 3.2.0 through 3.2.4
Weaknesses CWE-502
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 24, 2026, 3:24 PM
Reserved
Apr 22, 2026, 6:22 AM
Status
Analyzed
Published
Jun 23, 2026, 9:16 PM
Modified
Oct 25, 2026, 11:10 PM