temporalio/sqlparser malformed MySQL version comments can cause a panic
CVE-2026-16651Published 21 Sep 2026, 11:32 UTC
Real-world risk
2.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from Temporal)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Temporal ServerNiche | >= 1.29.0, <= 1.29.7; >= 1.30.0, < 1.30.7; >= 1.31.0, < 1.31.3 | 1.30.7, 1.31.3 |
| temporalio/sqlparserNiche | >= 0.0.0-20180604150908-b055e9c9b4fa, < 0.0.0-20260721183040-74181ffcbaaf | 0.0.0-20260721183040-74181ffcbaaf |
What to do
Update to a fixed version: 1.30.7, 1.31.3, 0.0.0-20260721183040-74181ffcbaaf.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 35), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.6 × threat 0.852.040
- Rounded to one decimal between 0.1 and 102.0
Exploitation and evidence timeline
- 21 Sep 2026 Published
- 3 Dec 2026 Risk 2.0 (cvss fallback)
Weakness
CWE-129
References
- https://github.com/temporalio/sqlparser/pull/5patch
- https://github.com/temporalio/sqlparser/commit/74181ffcbaaf0c52faa925f4cf27ed6c0c2be86fpatch
- https://github.com/temporalio/sqlparser/tree/v0.1.0product
- https://github.com/temporalio/temporal/pull/11190patch
- https://github.com/temporalio/temporal/pull/11090patch
- https://github.com/temporalio/temporal/releases/tag/v1.30.7release-notes
- https://github.com/temporalio/temporal/releases/tag/v1.31.3release-notes
- CVE-2026-16651 on CVE.org