Skip to main content
VulnerabilityPublished

CVE-2026-16651: Temporal Technologies temporalio/sqlparser · Improper Validation of Array Index

Affects Temporal Technologies temporalio/sqlparserSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 0.0.0-20260721183040-74181ffcbaaf soon.

Data as of 5 Nov 2026, 00:01 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.0.0-20260721183040-74181ffcbaaf, 1.31.3, 1.30.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

Upgrade temporalio/sqlparser and github.com/temporalio/sqlparser to 0.0.0-20260721183040-74181ffcbaaf; Temporal Server and go.temporal.io/server to 1.31.3 or 1.30.7.

Affected software

ProductAffectedFixed in
Temporal Technologies, Inc.temporalio/sqlparserAffected
  • >=0.0.0-20180604150908-b055e9c9b4fa <0.0.0-20260721183040-74181ffcbaaf
Fixed in
  • 0.0.0-20260721183040-74181ffcbaaf
Temporal Technologies, Inc.Temporal ServerAffected
  • >=1.29.0 <=1.29.7
  • >=1.30.0 <1.30.7
  • >=1.31.0 <1.31.3
Fixed in
  • 1.31.3
  • 1.30.7
Gogithub.com/temporalio/sqlparserpkg:golang/github.com/temporalio/sqlparserOther threatsAffected
  • >=0.0.0-20180604150908-b055e9c9b4fa <0.0.0-20260721183040-74181ffcbaaf
Fixed in
  • 0.0.0-20260721183040-74181ffcbaaf
Gogo.temporal.io/serverpkg:golang/go.temporal.io/serverOther threatsAffected
  • >=1.29.0 <=1.29.7
  • >=1.30.0 <1.30.7
  • >=1.31.0 <1.31.3
Fixed in
  • 1.30.7
  • 1.31.3

CPE configurations (1)

  • cpe:2.3:a:temporal:temporal:*:*:*:*:*:*:*:*

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, restrict access to the ListWorkers API to trusted users only and monitor for abnormal termination of the Matching process. Applications should implement recovery mechanisms for panics in parsing goroutines if possible.

Description

temporalio/sqlparser can panic when Parse, ParseStrictDDL, or ParseNext processes a MySQL version comment whose contents are empty or consist only of one to five decimal digits. ExtractMysqlComment does not check the -1 result returned by strings.IndexFunc before using it as a slice boundary. The resulting Go runtime panic propagates unless the caller recovers it on the parsing goroutine, so applications that parse attacker-controlled SQL can terminate. Temporal Server exposes the affected parser through ListWorkers. When that API is enabled, an authenticated caller with namespace read permission can submit a malformed query that terminates the receiving Matching process. Repeated requests can sustain a denial of service. The issue affects availability only; no confidentiality or integrity impact was identified.

References

Community reviews

Loading reviews…