Skip to content

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

HighCVSS 8.8 EPSS 0.76%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
broadcom spring statemachine >= 3.2.0, < 3.2.5; >= 4.0.0, < 4.0.2 3.2.5, 4.0.2 Fixed
org.springframework.statemachine/spring-statemachine-kryo(Maven) = 3.2.0; = 3.2.1; = 4.0.0; = 4.0.1 +3 more 4.0.2 Fixed
Spring Statemachine >= 3.2.0, < 3.2.5; >= 4.0.0, < 4.0.1.1 3.2.5, 4.0.1.1 Fixed

Affected products

ProductAffected versionsFixed in
Spring Statemachine >= 4.0.0, < 4.0.1.1 4.0.1.1
Spring Statemachine >= 3.2.0, < 3.2.5 3.2.5
org.springframework.statemachine/spring-statemachine-kryo(Maven) >= 3.2.0, <= 3.2.4 No fix listed
org.springframework.statemachine/spring-statemachine-kryo(Maven) = 3.2.0 No fix listed
org.springframework.statemachine/spring-statemachine-kryo(Maven) = 3.2.1 No fix listed
org.springframework.statemachine/spring-statemachine-kryo(Maven) >= 4.0.0, < 4.0.2 4.0.2
org.springframework.statemachine/spring-statemachine-kryo(Maven) = 4.0.0 No fix listed
org.springframework.statemachine/spring-statemachine-kryo(Maven) = 4.0.1 No fix listed
org.springframework.statemachine/spring-statemachine-kryo(Maven) >= 4.0.0, <= 4.0.1 No fix listed
broadcom spring statemachine >= 3.2.0, < 3.2.5 3.2.5
broadcom spring statemachine >= 4.0.0, < 4.0.2 4.0.2

References