Spring Statemachine's Kryo-based persistence backends deserialize persisted state-machine contexts without enforcing a class allowlist
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
GHSA-85qj-f5wg-rwp9
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-85qj-f5wg-rwp9
org.springframework.statemachine:spring-statemachine-kryo
Source reference: /affected/0/package/name
- Affected versions
- 3.2.0
Source reference:
/affected/0/versions3.2.1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
org.springframework.statemachine:spring-statemachine-kryo
Source reference: /affected/1/package/name
- Affected versions
- 4.0.0
Source reference:
/affected/1/versions4.0.1Source reference:
/affected/1/versions - Fixed versions
- 4.0.2
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.2.0"
},
{
"last_affected": "3.2.4"
}
]
}
],
"package": {
"name": "org.springframework.statemachine:spring-statemachine-kryo",
"purl": "pkg:maven/org.springframework.statemachine/spring-statemachine-kryo",
"ecosystem": "Maven"
},
"versions": [
"3.2.0",
"3.2.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-85qj-f5wg-rwp9/GHSA-85qj-f5wg-rwp9.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.2"
}
]
}
],
"package": {
"name": "org.springframework.statemachine:spring-statemachine-kryo",
"purl": "pkg:maven/org.springframework.statemachine/spring-statemachine-kryo",
"ecosystem": "Maven"
},
"versions": [
"4.0.0",
"4.0.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-85qj-f5wg-rwp9/GHSA-85qj-f5wg-rwp9.json",
"last_known_affected_version_range": "<= 4.0.1"
}
}
]- Related CVEs
- CVE-2026-41862
Source reference:
/aliases
Publisher severity
high
Source reference: /database_specific/severity
- Event
- #14223 · Revision 1
- Added to Heist Feed
- Publisher date