Skip to content
Heist/ feed
Back to feed
Medium

Shared JSR-223 ScriptEngine evaluated concurrently without THREADING check

Type: advisorySources: OSV

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-59321
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 17:23 UTC · Revision 1

Source evidence

Shared JSR-223 ScriptEngine evaluated concurrently without THREADING check

core-osv · Original source

Published 27 Aug 2026, 18:04 UTC

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

osv:CVE-2026-59321
Complete source record
{
  "id": "1d0a2657a8fe8eba05ffa13beec9926e544c418fefeaf5f040453909900312f2",
  "url": "https://osv.dev/vulnerability/CVE-2026-59321",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Shared JSR-223 ScriptEngine evaluated concurrently without THREADING check",
    "summary": "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",
    "evidence": "osv:CVE-2026-59321",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-59321",
      "aliases": [
        "CVE-2026-59321"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-integration",
              "type": "GIT",
              "events": [
                {
                  "introduced": "57110e69a935c587df9c0d67541857faea2645c3"
                },
                {
                  "last_affected": "5624e08f74a436c5709db81888f552a19ed779d1"
                },
                {
                  "introduced": "79963f89e3cab04addfe32aa4b419e5ffb73e909"
                },
                {
                  "fixed": "ae4c9bb8eff504f26b67cc6ac65fed2c8fb8382e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_integration:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.5.0"
                      },
                      {
                        "last_affected": "6.5.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_integration:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.0"
                      },
                      {
                        "fixed": "7.1.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.5.10",
            "v6.5.9",
            "v6.5.8",
            "v6.5.7",
            "v6.5.6",
            "v7.0.1",
            "v6.5.5",
            "v7.0.0",
            "v6.5.4",
            "v7.0.0-RC2",
            "v7.0.0-RC1",
            "v6.5.3",
            "v7.0.0-M3",
            "v6.5.2",
            "v7.0.0-M2",
            "v7.0.0-M1",
            "v6.5.1",
            "v6.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59321.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.601367729Z",
      "provider": "osv",
      "references": [
        "https://spring.io/security/cve-2026-59321",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59321.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-59321"
      ],
      "provider_metadata": {
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.1.0"
                  },
                  {
                    "last_affected": "7.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "last_affected": "7.0.5"
                  },
                  {
                    "introduced": "6.5.0"
                  },
                  {
                    "last_affected": "6.5.10"
                  },
                  {
                    "introduced": "6.4.0"
                  },
                  {
                    "last_affected": "6.4.12"
                  },
                  {
                    "last_affected": "5.5.21"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59321.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-59321",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 512531,
  "published_at": "2026-08-27T18:04:49.035+00:00"
}