NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2026-41862: Spring Statemachine's Kryo-based persistence backends deserialize persisted state-machine contexts without enforcing a class allowlist

highCVSS 3.1 8.8GHSA-85qj-f5wg-rwp9

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

Published Jun 23, 2026 · Updated Sep 24, 2026

Affected packages

org.springframework.statemachine:spring-statemachine-kryo

Ecosystem
Maven
Affected
>= 3.2.0, <= 3.2.4
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework.statemachine:spring-statemachine-kryo

org.springframework.statemachine:spring-statemachine-kryo

Ecosystem
Maven
Affected
>= 4.0.0, <= 4.0.1
Fixed in
4.0.2
Check
mvn dependency:tree -Dincludes=org.springframework.statemachine:spring-statemachine-kryo

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology