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
{
"cna_assigner": "vmware",
"cwe_ids": [
"CWE-502"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41862.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.1.1"
},
{
"introduced": "3.2.0"
},
{
"fixed": "3.2.5"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.1"
},
{
"introduced": "3.2.0"
},
{
"fixed": "3.2.4"
}
],
"source": "DESCRIPTION"
}
]
}