What’s Vulnerable › Vulnerabilities

CVE-2026-59321: Shared JSR-223 ScriptEngine evaluated concurrently without THREADING check

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

Affected products

How to fix

Upgrade to a fixed version: Spring Integration 7.0.5.1, 7.1.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59321 or the next vulnerability affects your stack