CVE-2026-59321: CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in Spring Spring Integration
Description
CVE-2026-59321 is a medium severity race condition vulnerability in Spring Integration where a single ScriptEngine instance is reused for every message on a script-backed channel. For JSR-223 engines that are not thread-safe (THREADING=null), concurrent message processing can corrupt internal engine state, potentially causing leakage of one message's payload or headers into another or causing exceptions during script evaluation. This affects multiple versions of Spring Integration including 5.5.21 and earlier, 6.4.x, 6.5.x, 7.0.x, and 7.1.0.
CVSS v3.1
Score 4.2medium
Affected software
Spring
Spring Integration
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from improper synchronization when reusing a single ScriptEngine instance across concurrent messages in Spring Integration. Specifically, JSR-223 script engines that report THREADING=null (indicating they are not thread-safe, such as the Kotlin kts engine) can have their internal state corrupted during concurrent access. This can lead to cross-message data leakage or spurious exceptions during script evaluation. The affected versions include Spring Integration 5.5.21 and earlier, 6.4.0 through 6.4.12, 6.5.0 through 6.5.10, 7.0.0 through 7.0.5, and 7.1.0.
Potential Impact
The vulnerability can cause leakage of message payloads and headers between concurrent script evaluations, potentially exposing sensitive data across messages. It can also cause unexpected exceptions, disrupting normal message processing. The impact is limited to confidentiality and integrity with no reported availability impact.
Mitigation Recommendations
No official patch or remediation level is currently provided. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid using non-thread-safe JSR-223 engines like the Kotlin kts engine in concurrent script-backed channels or implement external synchronization to prevent concurrent access to the ScriptEngine instance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-07-04T18:14:10.167Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a909cfbacd9273b49b2d308
Added to database: 08/27/2026, 20:24:27 UTC
Last enriched: 09/10/2026, 04:08:27 UTC
Last updated: 10/11/2026, 06:48:17 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.