CVE-2026-41862
Spring Statemachine's Kryo-based persistence backends (JPA, …
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
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- spring.io/security/cve-2026-41862
- nvd.nist.gov/vuln/detail/CVE-2026-41862
- github.com/spring-attic/spring-statemachine/commit/6b77ea6b729e5346d83e31f36c43818665d6738
- github.com/spring-attic/spring-statemachine/releases/tag/v4.0.2
- github.com/advisories/GHSA-85qj-f5wg-rwp9
- nvd.nist.gov/vuln/detail/CVE-2026-41862
- cve.org/CVERecord?id=CVE-2026-41862
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.