CVE-2026-41862GHSA-85qj-f5wg-rwp9
Spring Statemachine's Kryo-based persistence backends deserialize persisted state-machine contexts without enforcing a class allowlist
CVSS
8.8HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.76%Chance of exploitation activity in the next 30 days, higher than 54% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 4.0.2org.springframework.statemachine:spring-statemachine-kryo, mavenGitHub
<dependency><groupId>org.springframework.statemachine</groupId><artifactId>spring-statemachine-kryo</artifactId><version>4.0.2</version></dependency> - 4.0.1.1Spring StatemachineCVE List
- 3.2.5Spring StatemachineCVE List
- 4.0.2org.springframework.statemachine:spring-statemachine-kryo, MavenOSV
<dependency><groupId>org.springframework.statemachine</groupId><artifactId>spring-statemachine-kryo</artifactId><version>4.0.2</version></dependency>
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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
Text from GitHub Advisory Database
Affected versions 10
- org.springframework.statemachine:spring-statemachine-kryo, maven>= 3.2.0, <= 3.2.4GitHub
- org.springframework.statemachine:spring-statemachine-kryo, maven>= 4.0.0, <= 4.0.1GitHub
- Spring Statemachineaffected: 4.0.0 before 4.0.1.1CVE List
- Spring Statemachineaffected: 3.2.0 before 3.2.5CVE List
- org.springframework.statemachine:spring-statemachine-kryo, Mavenfrom 3.2.0, through 3.2.4OSV
- org.springframework.statemachine:spring-statemachine-kryo, Maven3.2.0OSV
- org.springframework.statemachine:spring-statemachine-kryo, Maven3.2.1OSV
- org.springframework.statemachine:spring-statemachine-kryo, Mavenfrom 4.0.0, fixed in 4.0.2OSV
- org.springframework.statemachine:spring-statemachine-kryo, Maven4.0.0OSV
- org.springframework.statemachine:spring-statemachine-kryo, Maven4.0.1OSV
References 5
- github.com/spring-attic/spring-statemachine/commit/6b77ea6b729e5346d83e31f36c43818665d67384Fixvia GitHub
- github.com/spring-attic/spring-statemachine/releases/tag/v4.0.2Fixvia GitHub
- spring.io/security/cve-2026-41862Advisoryvia CVE List
- github.com/advisories/GHSA-85qj-f5wg-rwp9Advisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-41862Referencevia GitHub