Intel

AIKIDO-2026-448372

spring-statemachine-kryo is vulnerable to Unsafe Deserialization

CVE-2026-41862Published Jun 15, 2026
June 15, 2026

80

CVE Score

High

Unsafe Deserialization

Are you affected? Scan for Free

TL;DR

Spring Statemachine contains an unsafe deserialization vulnerability in its Kryo-based persistence backends. Persisted state machine contexts are deserialized without enforcing a class allowlist, allowing attackers who can influence persisted data to trigger the deserialization of malicious objects. Successful exploitation may result in remote code execution within the application JVM.

How do I fix this?

Upgrade the org.springframework.statemachine:spring-statemachine-kryo library to a patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

3.2.0 - 4.0.1

Fixed in 4.0.2

Background info

spring-statemachine-kryo is vulnerable to Unsafe Deserialization in versions 3.2.0 - 4.0.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea