temporalio/sqlparser malformed MySQL version comments can cause a panic
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-129 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Temporal Technologies, Inc. | temporalio/sqlparser | 0.0.0-20180604150908-b055e9c9b4fa to before 0.0.0-20260721183040-74181ffcbaaf | 0.0.0-20260721183040-74181ffcbaaf | Patch available | CNA |
| Temporal Technologies, Inc. | Temporal Server | 1.29.0 – 1.29.7; 1.30.0 to before 1.30.7; 1.31.0 to before 1.31.3 | 1.30.7, 1.31.3 | Patch available | CNA |
- temporalio/sqlparser VendorTemporal Technologies, Inc. Affected 0.0.0-20180604150908-b055e9c9b4fa to before 0.0.0-20260721183040-74181ffcbaaf Fixed in 0.0.0-20260721183040-74181ffcbaaf Patch available CNA
- Temporal Server VendorTemporal Technologies, Inc. Affected 1.29.0 – 1.29.7; 1.30.0 to before 1.30.7; 1.31.0 to before 1.31.3 Fixed in 1.30.7, 1.31.3 Patch available CNA
Remediation
- Fix · CNA temporalio/sqlparser (Temporal Technologies, Inc.) Fixed in 0.0.0-20260721183040-74181ffcbaaf
- Fix · CNA Temporal Server (Temporal Technologies, Inc.) Fixed in 1.30.7, 1.31.3
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Temporal Server 1.30.7, 1.31.3
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-59955 Temporal Server completion callback source header can direct attacker-chosen requests to…Priority LOW 33
- TI-2026-13898 Temporal Server Schedule exclusion search can cause excessive CPU consumptionPriority LOW 32
Timeline
- 2026-10-02 Threatist record created from CVE-2026-16651
- 2026-10-03 Alias added: GHSA-g9jq-gq4v-4rw3
References
More Temporal Technologies, Inc. vulnerabilities
- TI-2026-63861 s2s-proxy accepts untrusted client certificates CVSS 4.0CRITICAL 9.3
- TI-2026-46800 temporalio/tchannel-go zero-chunk call fragment causes process termination CVSS 4.0HIGH 8.7
- TI-2026-46799 temporalio/tchannel-go malformed checksum type causes process termination CVSS 4.0HIGH 8.7
- TI-2026-46801 temporalio/ringpop-go fails to enforce configured label limits on inbound membership gossip CVSS 4.0HIGH 8.7
- TI-2026-84119 Temporal Server k8s compute provider lets callers run host commands CVSS 4.0HIGH 8.7
- TI-2026-60383 Temporal Server worker deployment compute provider executes a caller-supplied command on the Worker Service host CVSS 4.0HIGH 8.7
Sources
- CVE-2026-16651 · CVE Program
- CVE-2026-16651 · NVD
- FIRST EPSS
- GHSA-g9jq-gq4v-4rw3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences