CVE-2026-16651
8.7Temporal Technologies · Temporal Server / sqlparser
A Go runtime panic in temporalio/sqlparser allows authenticated users to trigger a denial of service by submitting malformed MySQL version comments.
Executive summary
A vulnerability in the Temporal Server SQL parser allows authenticated attackers to cause a service crash, leading to a persistent denial of service.
Vulnerability
This flaw stems from improper validation of array indices (CWE-129) within the ExtractMysqlComment function, where a failure to check the return value of strings.IndexFunc leads to a Go runtime panic. The vulnerability is reachable by authenticated users with namespace read permissions who can submit specially crafted SQL queries to the affected API.
Business impact
The exploitation of this vulnerability results in the termination of the receiving Matching process, causing a denial of service for the affected Temporal components. While the vulnerability does not compromise data confidentiality or integrity, the resulting service outage can significantly disrupt business operations that rely on Temporal for workflow orchestration. The CVSS score of 8.7 reflects the high severity of the potential availability impact on critical infrastructure.
Remediation
Immediate Action: Upgrade the temporalio/sqlparser library to version 0.0.0-20260721183040-74181ffcbaaf or later, and update Temporal Server to versions 1.30.7, 1.31.3, or 1.32.0.
Proactive Monitoring: Monitor server logs for unexpected Go runtime panics or sudden termination of Matching processes associated with SQL parsing tasks.
Compensating Controls: Restrict access to the ListWorkers API and other endpoints that permit SQL query submission to highly trusted service accounts to minimize the attack surface.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
The risk posed by this denial of service vulnerability is substantial for organizations utilizing Temporal to manage complex workflows. Administrators should prioritize the deployment of the vendor-provided patches, as they explicitly correct the array boundary check logic. Until patches are applied, ensure that access to the affected APIs is strictly controlled and monitored for anomalous behavior.
More Temporal Technologies CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section
Sources
Originally found and disclosed by An external security researcher who reported this issue responsibly to Temporal Technologies, per the CVE Program record.
- sqlparser fix pull request Patch commit
- sqlparser fix commit Patch commit
- Fixed release tag v0.1.0
- Temporal Server dependency update Patch commit
- Temporal Server matching-handler panic containment Patch commit
- Temporal Server 1.30.7 Release notes
- Temporal Server 1.31.3 Release notes