Skip to main content

Temporal Server EUVDEUVD-2026-83891

| CVE-2026-16651 HIGH
Improper Validation of Array Index (CWE-129)
2026-09-21 Temporal GHSA-g9jq-gq4v-4rw3
8.7
CVSS 4.0 · Vendor: Temporal
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with namespace read permission
  2. Delivery
    Submit query with malformed MySQL version comment via ListWorkers
  3. Exploit
    ExtractMysqlComment slices on -1 index
  4. Execution
    Go runtime panic crashes Matching process
  5. Impact
    Repeat requests to sustain denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires the Temporal Server ListWorkers API to be ENABLED and the attacker to be an AUTHENTICATED caller holding at least namespace read permission - both stated explicitly in the vendor description. The malformed input must be a MySQL version comment ('/*! ... */') whose contents are empty or consist of one to five decimal digits, which triggers the unchecked -1 slice boundary in ExtractMysqlComment. Limiting factors: authentication and namespace-level authorization are needed, the affected API path must be enabled, and impact is confined to availability (crash of the Matching process) with no data exposure; direct library consumers are only affected if they parse attacker-controlled SQL without recovering the panic on the parsing goroutine.

Impact

This is a genuine but bounded availability-only issue. The vendor CVSS 4.0 vector rates it 8.7 (High) driven entirely by VA:H with PR:N/AC:L/AT:N, implying trivial unauthenticated remote crash. However, the vendor's OWN description contradicts PR:N: the exploitable path through Temporal Server's ListWorkers API requires 'an authenticated caller with namespace read permission' and requires that API to be enabled - so realistic exploitation is authenticated (PR:L) and config-gated, not unauthenticated. This drops the practical severity to roughly CVSS 3.1 6.5. Confidentiality and integrity are explicitly unaffected (VC:N/VI:N). No EPSS score was provided; there is no CISA KEV listing and no public exploit code identified, so this is not an active-exploitation priority. The root cause (a Go slice-index panic from an unchecked strings.IndexFunc -1 result, CWE-129) is well understood and is confirmed fixed by the vendor. Net: patch promptly on internet-facing or multi-tenant Temporal deployments, but the 8.7 headline overstates real-world risk because it ignores the authentication and feature-enablement gates the vendor itself documents.

Exploit ScenarioDerived

An authenticated user holding only namespace read permission on a Temporal Server that has the ListWorkers API enabled submits a query containing a malformed MySQL version comment (e.g. '/*!*/' or '/*!401*/'). The sqlparser call panics on the receiving Matching service, terminating the process; the attacker simply repeats the request to keep the service down. No public exploit code has been identified, but the trigger is trivial to craft from the patch diff.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 21, 2026

Denial of service in Temporal Server allows an authenticated caller holding at least namespace read permission to crash the receiving Matching process by submitting a malformed MySQL version comment through the ListWorkers API when that API is enabled. The root cause is in the bundled temporalio/sqlparser Go library, where ExtractMysqlComment fails to validate the -1 returned by strings.IndexFunc before using it as a slice boundary, producing an unhandled Go runtime panic whenever a '/*! ... */' comment has empty contents or one to five decimal digits. Impact is availability-only (process termination, repeatable to sustain an outage) with no confidentiality or integrity effect; no public exploit identified at time of analysis, and exploitation is gated on both API enablement and authenticated namespace read access.

RemediationAI

The primary fix is the parser update shipped in Temporal Server v1.30.7 and v1.31.3, which bump github.com/temporalio/sqlparser from v0.0.0-20231115171017-f4060bcfa6cb to v0.0.0-20260721183058-0466b6b405ac (see https://github.com/temporalio/temporal/pull/11190 and https://github.com/temporalio/temporal/pull/11090); upgrade to those releases or newer. Direct library consumers should move to the upstream fix, which is available as a commit/PR rather than a confirmed tagged release: https://github.com/temporalio/sqlparser/pull/5 and https://github.com/temporalio/sqlparser/commit/74181ffcbaaf0c52faa925f4cf27ed6c0c2be86f. The fix removes the MySQL-specific comment handling entirely, so after patching '/*! ... */' comments are treated as ordinary comments and stripped; this is a behavioral change and any SQL relying on the pre-existing interpretation of MySQL conditional comments should be re-validated. Where patching is not immediately possible: disable the ListWorkers API or restrict namespace read permissions to fully trusted callers, at the cost of losing worker-visibility functionality in the Temporal UI/CLI and tightening legitimate operational access; alternatively wrap Parse, ParseStrictDDL and ParseNext invocations in a defer/recover block on the parsing goroutine, understanding that this is per-call-site, must be applied on the same goroutine that parses, and will mask other parser panics rather than fixing the boundary bug. Because a successful trigger crashes the Matching process, recovery requires process restart, so rate-limiting or gateway-level filtering of '/*!' patterns in ListWorkers queries can reduce the practical impact but should not be relied on as the sole control.

Affected VersionsENISA

temporalio/sqlparser 0.0.0-20180604150908-b055e9c9b4fa <0.0.0-20260721183040-74181ffcbaaf
Temporal Server 1.30.0 <1.30.7
Temporal Server 1.29.0 ≤1.29.7
Temporal Server 1.31.0 <1.31.3

Affected Packages

euvd temporal_server fix: 1.30.7, 1.31.3
euvd temporalio_sqlparser fix: 0.0.0-20260721183040-74181ffcbaaf

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue lives in temporalio/sqlparser, the Go MySQL SQL parser library that Temporal Server vendors as a dependency. MySQL version comments ('/*! ... */' and '/*!50708 ... */') are conditional-execution comments whose digits declare a minimum server version. The library's ExtractMysqlComment stripped the leading '/*!' and trailing '*/', then called strings.IndexFunc to locate the end of the leading digit run; IndexFunc returns -1 when the predicate never becomes false. With empty contents, or contents of one to five digits (no non-digit rune before the six-digit counter cutoff), the -1 was assigned to endOfVersionIndex and immediately used as a slice bound (sql[0:endOfVersionIndex]), triggering an index-out-of-range panic in the Go runtime. This is CWE-129 (improper validation of array index) - a boundary derived from an unchecked sentinel return value. Unless the caller recovers on the same parsing goroutine, the panic unwinds and terminates the process; in Temporal Server the affected parser is reachable through ListWorkers, so the panic kills the Matching process that handles the request.

Know when Go gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Temporal) PRIMARY 8.7 HIGH
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
vuln.today AI 6.5 MEDIUM

Network-reachable and low-complexity, but the documented Temporal Server path needs an authenticated namespace-read caller (PR:L); impact is availability-only (A:H), no C/I.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Temporal).

CVSS VectorVendor: Temporal

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-129 (Improper Validation of Array Index) in github.com/temporalio/sqlparser (a fork of xwb1989/sqlparser), function ExtractMysqlComment in comments.go.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

Temporal Server is affected by a high-severity availability flaw that can allow a caller with namespace read permission to crash the Matching process through the ListWorkers API, causing repeatable service outages when that API is enabled. Leadership should care because disruption to Temporal workflows can stall critical business processes and incident response efforts until the service is restored. No public exploit identified at time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Medium
Temporal is a popular cloud-native workflow orchestration engine, but not ubiquitous
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Go

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2016-5386 HIGH
8.1 Jul 19

The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and there

CVE-2025-68121 CRITICAL POC
10.0 Feb 05

Critical certificate validation bypass in Go crypto/tls during session resumption. If ClientCAs or RootCAs fields are mu

CVE-2019-14809 CRITICAL POC
9.8 Aug 13

net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization by

CVE-2026-90942 CRITICAL POC
9.3 Sep 14

Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and

CVE-2026-101090 CRITICAL POC
9.3 Sep 27

Host header injection in Nezha 2.2.3's OAuth2 redirect endpoint (/api/v1/oauth2/{provider}) allows an unauthenticated re

CVE-2026-78428 HIGH POC
8.8 Sep 17

Session cross-wiring in SUSE NeuVector before 5.6.1 allows an unauthenticated remote attacker to obtain another user's a

CVE-2026-92791 HIGH POC
8.7 Sep 16

Unauthenticated path traversal in Uber Kraken through 0.1.29 allows remote attackers to read files outside the configure

CVE-2018-7187 HIGH POC
8.8 Feb 16

The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import pa

CVE-2026-82405 HIGH POC
8.7 Sep 23

Account takeover in Klever-Go's KleverUpdateAccountPermission built-in (all versions prior to 1.7.20) allows an attacker

CVE-2026-82409 HIGH POC
8.4 Sep 23

Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r

CVE-2026-55062 HIGH POC
8.4 Aug 17

Path traversal in the uniget CLI (Go module gitlab.com/uniget-org/cli) before version 0.27.6 lets a local user read and

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy