CVE-2026-16651: Temporal Technologies temporalio/sqlparser · Improper Validation of Array Index
Affects Temporal Technologies temporalio/sqlparserSource CVE Database V5
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Temporal Technologies, Inc.temporalio/sqlparser | Affected
| Fixed in
|
| Temporal Technologies, Inc.Temporal Server | Affected
| Fixed in
|
Gogithub.com/temporalio/sqlparserpkg:golang/github.com/temporalio/sqlparserOther threats | Affected
| Fixed in
|
Gogo.temporal.io/serverpkg:golang/go.temporal.io/serverOther threats | Affected
| Fixed in
|
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
- github.com/temporalio/sqlparser/pull/5 (opens in a new tab)
- github.com/temporalio/sqlparser/commit/74181ffcbaaf0c52faa925f4cf27ed6c0c2be86f (opens in a new tab)
- github.com/temporalio/sqlparser/tree/v0.1.0 (opens in a new tab)
- github.com/temporalio/temporal/pull/11190 (opens in a new tab)
- github.com/temporalio/temporal/pull/11090 (opens in a new tab)
- github.com/temporalio/temporal/releases/tag/v1.30.7 (opens in a new tab)
- github.com/temporalio/temporal/releases/tag/v1.31.3 (opens in a new tab)