Skip to main content
EPSS 0.2%top 94%

CVE-2026-59321: CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in Spring Spring Integration

0
Medium
Published: 08/27/2026 (08/27/2026, 18:04:49 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected software

Spring

Spring Integration

Affected versions
>=7.0.0 <=7.0.5>=6.5.0 <=6.5.10>=6.4.0 <=6.4.12>=0 <=5.5.21=7.1.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 04:08:27 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses