Home / Temporal Technologies, Inc. / temporalio/sqlparser / CVE-2026-16651
CVE-2026-16651: is it exploited, and which versions of Temporal Technologies, Inc. temporalio/sqlparser are affected and fixed?
CVE-2026-16651 is an improper array index validation vulnerability in Temporal Technologies, Inc. temporalio/sqlparser. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: temporalio/sqlparser from 0.0.0-20180604150908-b055e9c9b4fa before 0.0.0-20260721183040-74181ffcbaaf, Temporal Server from 1.29.0 through 1.29.7, Temporal Server from 1.30.0 before 1.30.7 and 1 more (CVE record by Temporal). Fixed in 0.0.0-20260721183040-74181ffcbaaf, 1.30.7 and 1.31.3 (CVE record by Temporal). Severity: High (8.7, CVSS 4.0, from Temporal).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-16651?
temporalio/sqlparser malformed MySQL version comments can cause a panic
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.
From the CVE record by Temporal, last updated September 21, 2026, 15:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Temporal Technologies, Inc. | temporalio/sqlparser github.com/temporalio/sqlparser | from 0.0.0-20180604150908-b055e9c9b4fa before 0.0.0-20260721183040-74181ffcbaaf | 0.0.0-20260721183040-74181ffcbaaf |
| Temporal Technologies, Inc. | Temporal Server go.temporal.io/server | from 1.29.0 through 1.29.7 from 1.30.0 before 1.30.7 from 1.31.0 before 1.31.3 | 1.30.7, 1.31.3 |
As the CVE record by Temporal states it, last updated September 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-16651?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | 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 | Temporal |
| High 7.1 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | Temporal |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-16651 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, September 21, 2026)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 35.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-129 Improper Validation of Array Index
How do I fix it? (from the CVE record)
Upgrade github.com/temporalio/sqlparser to v0.0.0-20260721183040-74181ffcbaaf or later. Temporal Server operators should upgrade to 1.30.7, 1.31.3, or 1.32.0, as appropriate for the deployed minor release line. The parser fix treats MySQL version comments as ordinary comments instead of interpreting their contents as SQL.
Is there a workaround? (from the CVE record)
Until upgrading, applications can reject MySQL version comments before invoking the parser or recover parser panics on the parsing goroutine. Temporal Server 1.29 and 1.30 operators can set frontend.ListWorkersEnabled to false. On any affected Server release, restrict ListWorkers to trusted principals or apply the matching-handler panic-recovery change as interim containment. Panic recovery does not replace the parser fix.
Where are the vendor advisories and references?
- sqlparser fix pull request patch
- sqlparser fix commit patch
- Fixed release tag v0.1.0 product
- Temporal Server dependency update patch
- Temporal Server matching-handler panic containment patch
- Temporal Server 1.30.7 release-notes
- Temporal Server 1.31.3 release-notes
Who found and reported it?
- An external security researcher who reported this issue responsibly to Temporal Technologies (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 22, 2026
- Published
- September 21, 2026, 11:32 UTC
- CVE record updated
- September 21, 2026, 15:32 UTC by Temporal
- NVD
- Awaiting Analysis, last modified September 22, 2026, 19:40 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect temporalio/sqlparser?
- Sep 21, 2026CVE-2026-65651 Temporal Technologies, Inc. temporalio/sqlparser: uncontrolled recursion
Every CVE in temporalio/sqlparser
Questions about CVE-2026-16651
Is CVE-2026-16651 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Temporal Technologies, Inc. temporalio/sqlparser are affected by CVE-2026-16651?
temporalio/sqlparser from 0.0.0-20180604150908-b055e9c9b4fa before 0.0.0-20260721183040-74181ffcbaaf, Temporal Server from 1.29.0 through 1.29.7, Temporal Server from 1.30.0 before 1.30.7 and Temporal Server from 1.31.0 before 1.31.3, per the CVE record by Temporal. The tables above give every range the sources list.
Which version fixes CVE-2026-16651?
0.0.0-20260721183040-74181ffcbaaf, 1.30.7 and 1.31.3, per the CVE record by Temporal. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-16651?
High (8.7, CVSS 4.0, from Temporal). The severity table above shows each score with its source.
Where is the official record of CVE-2026-16651?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.