CVE-2026-59321

Shared JSR-223 ScriptEngine evaluated concurrently without THREADING check

State
Published
Severity
4.2 Medium
Published
Aug 27, 2026
Updated
Aug 28, 2026
Reserved
Jul 4, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.14.2 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:Nvmware

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
Spring IntegrationSpring
  • 7.1.0Affected
  • 7.0.0 through 7.0.5Affected
  • 6.5.0 through 6.5.10Affected
  • 6.4.0 through 6.4.12Affected
  • 5.5.21 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.