Loading...
Skip to main content

CVE-2026-41862 — Vulnerability in...

HIGH

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

Published June 23, 2026Updated September 24, 2026Source: osv

Summary

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

Advisory Timeline

  • First published June 23, 2026 (111 days ago).
  • Last revised September 24, 2026 — 93 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.statemachine:spring-statemachine-kryo to 4.0.2 or later
<!-- Update pom.xml dependency version to 4.0.2 for org.springframework.statemachine:spring-statemachine-kryo -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.springframework.statemachine:spring-statemachine-kryo
maven
4.0.0, 4.0.14.0.2
org.springframework.statemachine:spring-statemachine-kryo
maven
3.2.0, 3.2.1Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-41862?
Spring Statemachine's Kryo-based persistence backends deserialize persisted state-machine contexts without enforcing a class allowlist This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-41862?
CVE-2026-41862 affects org.springframework.statemachine:spring-statemachine-kryo. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41862 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-85qj-f5wg-rwp9

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies