Skip to main content

CVE-2026-16651: CWE-129: Improper Validation of Array Index in Temporal Technologies, Inc. temporalio/sqlparser

0
High
VulnerabilityCVE-2026-16651cvecve-2026-16651cwe-129
Published: 09/21/2026 (09/21/2026, 11:32:44 UTC)
Source: CVE Database V5
Vendor/Project: Temporal Technologies, Inc.
Product: temporalio/sqlparser

Description

CVE-2026-16651 is a high-severity vulnerability in Temporal Technologies, Inc.'s temporalio/sqlparser. The parser can panic when processing a MySQL version comment that is empty or contains only one to five decimal digits due to improper validation of array indices. This leads to a Go runtime panic that can terminate the parsing goroutine. Temporal Server exposes this parser through the ListWorkers API, allowing an authenticated user with namespace read permission to submit malformed queries that cause the Matching process to terminate. Repeated exploitation can cause a denial of service. The vulnerability affects availability only, with no impact on confidentiality or integrity.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Temporal Technologies, Inc.

temporalio/sqlparser

Affected versions
>=0.0.0-20180604150908-b055e9c9b4fa <0.0.0-20260721183040-74181ffcbaaf

Temporal Technologies, Inc.

Temporal Server

Affected versions
>=1.29.0 <=1.29.7>=1.30.0 <1.30.7>=1.31.0 <1.31.3
github.com/temporalio/sqlparser
pkg:golang/github.com/temporalio/sqlparser
Affected versions
>=0.0.0-20180604150908-b055e9c9b4fa <0.0.0-20260721183040-74181ffcbaaf
go.temporal.io/server
pkg:golang/go.temporal.io/server
Affected versions
>=1.29.0 <=1.29.7>=1.30.0 <1.30.7>=1.31.0 <1.31.3
CPE configurations
cpe:2.3:a:temporal:temporal:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/21/2026, 12:02:15 UTC

Technical Analysis

The temporalio/sqlparser component improperly validates array indices when parsing MySQL version comments. Specifically, the ExtractMysqlComment function uses the result of strings.IndexFunc without checking for a -1 return value, leading to out-of-bounds slice operations and a runtime panic in Go. This panic propagates unless recovered by the caller. Temporal Server exposes this parser via the ListWorkers API, which when enabled, allows authenticated users with namespace read permission to send malformed SQL queries that cause the Matching process to crash. This can be exploited repeatedly to sustain a denial of service condition. No confidentiality or integrity impacts are reported.

Potential Impact

The vulnerability causes denial of service by crashing the Matching process in Temporal Server when parsing malformed SQL queries. It affects availability only. There is no known impact on confidentiality or integrity. Exploitation requires authentication with namespace read permission and the ListWorkers API to be enabled.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the ListWorkers API to trusted users only and monitor for abnormal termination of the Matching process. Applications should implement recovery mechanisms for panics in parsing goroutines if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Temporal
Date Reserved
2026-07-22T18:08:54.825Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ab1194455bf5e2cf5d2cb4b

Added to database: 09/21/2026, 11:47:16 UTC

Last enriched: 09/21/2026, 12:02:15 UTC

Last updated: 09/21/2026, 14:29:35 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses