Intel

AIKIDO-2026-230332

spring-integration-scripting is vulnerable to Race Condition

Race ConditionCVE-2026-59321 Published 5 days ago

42

Medium Risk

This Affects:

JAVAspring-integration-scripting
0.0.1 - 7.0.5
Fixed in 7.0.6
7.1.0 - 7.1.0
Fixed in 7.1.1
Are you affected? Scan for Free

TL;DR

spring-integration-scripting reuses one ScriptEngine for every message. Engines that are not thread-safe, such as Kotlin kts, can leak one message's bindings into another evaluation under concurrency. In a multi-tenant flow that is cross-request disclosure. The patch avoids sharing non-thread-safe engines across concurrent messages.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and a script-backed channel reuses a JSR-223 ScriptEngine that reports THREADING=null.

Background info

spring-integration-scripting is vulnerable to Race Condition in versions 0.0.1 - 7.0.5 and 7.1.0 - 7.1.0.

How to fix this

Upgrade the org.springframework.integration:spring-integration-scripting library to the patch version.