CVE-2026-59321: Shared JSR-223 ScriptEngine evaluated concurrently without THREADING check
Vulnerability summary
CVE-2026-59321 is a medium (CVSS 5.4) vulnerability in spring spring integration. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.8% of scored vulnerabilities.
Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 27-08-2026PublishedVulnerability first disclosed.
- 28-08-2026Last modifiedVulnerability information updated.
Description
A single ScriptEngine instance is reused for every message on a script-backed channel. For JSR-223 engines that report THREADING=null (not thread-safe, e.g. the Kotlin kts engine), concurrent message processing can corrupt engine-internal state, potentially leaking one message's payload/headers bindings into another message's script evaluation or throwing spurious exceptions. Spring Integration 7.1.0 Spring Integration 7.0.0 - 7.0.5 Spring Integration 6.5.0 - 6.5.10 Spring Integration 6.4.0 - 6.4.12 Spring Integration 5.5.21 and earlier
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA4.2MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
Decrease -0.05 pp
From 0.18% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Spring1 product
- spring integration7.1.0 | ≥ 7.0.0, ≤ 7.0.5 | ≥ 6.5.0, ≤ 6.5.10 | ≥ 6.4.0, ≤ 6.4.12 | ≤ 5.5.21
Vmware1 product
- spring_integration≤ 5.5.21 | ≥ 6.4.0, ≤ 6.4.12 | ≥ 6.5.0, ≤ 6.5.10 | ≥ 7.0.0, < 7.0.5.1 | ≥ 7.1.0, < 7.1.0.1
2 vendors · 2 products
References
1 links- spring.io/security/cve-2026-59321Vendor Advisory