CVE-2026-41862: CWE-502: Deserialization of Untrusted Data in Spring Spring Statemachine
Spring Statemachine versions 3.2.0 through 3.2.4 and 4.0.0 through 4.0.1 contain a deserialization vulnerability in their Kryo-based persistence backends. These backends (JPA, MongoDB, Redis, and ZooKeeper) do not enforce a class allowlist when deserializing persisted state-machine contexts, leading to potential remote code execution within the application JVM.
AI Analysis
Technical Summary
The vulnerability CVE-2026-41862 affects Spring Statemachine's Kryo-based persistence backends used in JPA, MongoDB, Redis, and ZooKeeper. The issue arises because these backends deserialize persisted state-machine contexts without enforcing a class allowlist, which is a CWE-502 weakness (deserialization of untrusted data). This flaw can be exploited by an attacker with network access and low privileges to execute arbitrary code remotely within the JVM hosting the application. The affected versions are Spring Statemachine 3.2.0 through 3.2.4 and 4.0.0 through 4.0.1. No official patch or remediation guidance is currently provided in the vendor advisory or CVE data.
Potential Impact
Successful exploitation of this vulnerability can lead to remote code execution with high confidentiality, integrity, and availability impact on the affected system. An attacker could run arbitrary code inside the JVM process, potentially compromising the entire application and underlying system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling or restricting the use of Kryo-based persistence backends or applying custom deserialization filters if feasible. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-41862: CWE-502: Deserialization of Untrusted Data in Spring Spring Statemachine
Description
Spring Statemachine versions 3.2.0 through 3.2.4 and 4.0.0 through 4.0.1 contain a deserialization vulnerability in their Kryo-based persistence backends. These backends (JPA, MongoDB, Redis, and ZooKeeper) do not enforce a class allowlist when deserializing persisted state-machine contexts, leading to potential remote code execution within the application JVM.
CVSS v3.1
Score 8.8high
Affected software
pkg:maven/org.springframework.statemachine/statemachine-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-41862 affects Spring Statemachine's Kryo-based persistence backends used in JPA, MongoDB, Redis, and ZooKeeper. The issue arises because these backends deserialize persisted state-machine contexts without enforcing a class allowlist, which is a CWE-502 weakness (deserialization of untrusted data). This flaw can be exploited by an attacker with network access and low privileges to execute arbitrary code remotely within the JVM hosting the application. The affected versions are Spring Statemachine 3.2.0 through 3.2.4 and 4.0.0 through 4.0.1. No official patch or remediation guidance is currently provided in the vendor advisory or CVE data.
Potential Impact
Successful exploitation of this vulnerability can lead to remote code execution with high confidentiality, integrity, and availability impact on the affected system. An attacker could run arbitrary code inside the JVM process, potentially compromising the entire application and underlying system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling or restricting the use of Kryo-based persistence backends or applying custom deserialization filters if feasible. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-22T06:22:10.082Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3af602eed863c81e9ec620
Added to database: 06/23/2026, 21:09:22 UTC
Last enriched: 06/23/2026, 21:24:18 UTC
Last updated: 06/24/2026, 03:23:12 UTC
Views: 23
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.