Skip to content

Temporal Server

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?

ProductAffected 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.31.30.7, 1.31.3
temporalio/sqlparserNiche>= 0.0.0-20180604150908-b055e9c9b4fa, < 0.0.0-20260721183040-74181ffcbaaf0.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

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.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
  1. Prerequisites multiplied together0.600
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.4 × prerequisites 0.6 × threat 0.852.040
  4. Rounded to one decimal between 0.1 and 102.0

How the score works

Exploitation and evidence timeline

  1. 21 Sep 2026 Published
  2. 3 Dec 2026 Risk 2.0 (cvss fallback)

Weakness

CWE-129

References

Get alerts for Temporal Server

Free email or text alerts when a vulnerability in Temporal Server reaches risk 8 or higher. Nothing else.