{"id":"GHSA-85qj-f5wg-rwp9","summary":"Spring Statemachine's Kryo-based persistence backends deserialize persisted state-machine contexts without enforcing a class allowlist","details":"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.\n\nAffected versions:\nSpring Statemachine 4.0.0 through 4.0.1\nSpring Statemachine 3.2.0 through 3.2.4","aliases":["CVE-2026-41862"],"modified":"2026-09-24T19:15:05.762400079Z","published":"2026-06-23T21:30:32Z","database_specific":{"nvd_published_at":"2026-06-23T21:16:57Z","cwe_ids":["CWE-502"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-09-24T19:05:05Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41862"},{"type":"WEB","url":"https://github.com/spring-attic/spring-statemachine/commit/6b77ea6b729e5346d83e31f36c43818665d67384"},{"type":"PACKAGE","url":"https://github.com/spring-attic/spring-statemachine"},{"type":"WEB","url":"https://github.com/spring-attic/spring-statemachine/releases/tag/v4.0.2"},{"type":"WEB","url":"https://spring.io/security/cve-2026-41862"}],"affected":[{"package":{"name":"org.springframework.statemachine:spring-statemachine-kryo","ecosystem":"Maven","purl":"pkg:maven/org.springframework.statemachine/spring-statemachine-kryo"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.0"},{"last_affected":"3.2.4"}]}],"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"}},{"package":{"name":"org.springframework.statemachine:spring-statemachine-kryo","ecosystem":"Maven","purl":"pkg:maven/org.springframework.statemachine/spring-statemachine-kryo"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.0.2"}]}],"versions":["4.0.0","4.0.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 4.0.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-85qj-f5wg-rwp9/GHSA-85qj-f5wg-rwp9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}