CVE-2026-41862 Details
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
A remote code execution vulnerability has been identified in Spring Statemachine versions 4.0.0 through 4.0.1 and 3.2.0 through 3.2.4. The issue arises in Kryo-based persistence backends, including JPA, MongoDB, Redis, and ZooKeeper, where persisted state-machine contexts are deserialized without enforcing a class allowlist. This lack of validation allows for the deserialization of untrusted data, potentially leading to arbitrary code execution within the application's JVM.
Users should upgrade to Spring Statemachine 4.0.2 or 3.2.5, depending on their current version. The fixed releases require registering application-specific state and event types with Kryo. For Redis users, it's important to note that existing keys written by older releases will not be visible after the upgrade; these keys must be rewritten under the new namespace or, if backwards compatibility is required, an empty prefix can be passed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://spring.io/security/cve-2026-41862 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| broadcom spring statemachine | >= 3.2.0, < 3.2.5 >= 4.0.0, < 4.0.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Sep 22, 2026 | Initial Analysis | [email protected] |
| Jun 24, 2026 | CVE Modified | CISA-ADP |
| Jun 23, 2026 | New CVE Received | [email protected] |