Vulnerability · Published Jun 23, 2026 · Assigned by vmware
CVE-2026-41862
High 8.8
In plain English
A high-severity unsafe deserialization in Spring Statemachine from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework.statemachine:spring-statemachine-kryo | no fix listed | GHSA-85qj-f5wg-rwp9 |
| Maven | org.springframework.statemachine:spring-statemachine-kryo | 4.0.2 | GHSA-85qj-f5wg-rwp9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Statemachine | 4.0.0 – before 4.0.1.13.2.0 – before 3.2.5 |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H