CVE-2026-16651
published high CVSS 4.0 · 8.7temporalio/sqlparser malformed MySQL version comments can cause a panic
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Temporal Technologies, Inc. | — | github.com/temporalio/sqlparsertemporalio/sqlparser · 0.0.0-20180604150908-b055e9c9b4fa to < 0.0.0-20260721183040-74181ffcbaaf · Other versions: unaffected | Affected | Not stated | Temporal |
| Temporal Technologies, Inc. | — | go.temporal.io/serverTemporal Server · 1.29.0 through 1.29.7 · 1.30.0 to < 1.30.7 · 1.31.0 to < 1.31.3 · Other versions: unaffected | Affected | Not stated | Temporal |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- Temporal · cna
- Vector string
- 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
- Scenarios
- en: temporalio/sqlparser reasonable worst-case network service embedding
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 4.0 | 7.1 | high | Temporal · cna | 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 | en: Temporal Server ListWorkers in a supported authenticated deployment |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Temporal Technologies, Inc. | temporalio/sqlparser | 0.0.0-20180604150908-b055e9c9b4fa to < 0.0.0-20260721183040-74181ffcbaaf (affected · semver)Default: unaffected | Temporal · cna |
| Temporal Technologies, Inc. | Temporal Server | 1.29.0 through 1.29.7 (affected · semver)1.30.0 to < 1.30.7 (affected · semver)1.31.0 to < 1.31.3 (affected · semver)Default: unaffected | Temporal · cna |
Weaknesses
1- CWE-129 CWE-129: Improper Validation of Array Index
References
7- sqlparser fix commit https://github.com/temporalio/sqlparser/commit/74181ffcbaaf0c52faa925f4cf27ed6c0c2be86f
- sqlparser fix pull request https://github.com/temporalio/sqlparser/pull/5
- Fixed release tag v0.1.0 https://github.com/temporalio/sqlparser/tree/v0.1.0
- Temporal Server matching-handler panic containment https://github.com/temporalio/temporal/pull/11090
- Temporal Server dependency update https://github.com/temporalio/temporal/pull/11190
- Temporal Server 1.30.7 https://github.com/temporalio/temporal/releases/tag/v1.30.7
- Temporal Server 1.31.3 https://github.com/temporalio/temporal/releases/tag/v1.31.3
Provider assertions
2Temporal · cna
temporalio/sqlparser malformed MySQL version comments can cause a panic
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 373010ae7abd8073b7deb5d1a5420d051945f73a24d3eaf77914b030bd809b65
- Ingested
- 23 Sep 2026, 09:02:47 UTC
- Source record
- Official CVE record