Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with namespace read permission
-
DeliverySubmit query with malformed MySQL version comment via ListWorkers
-
ExploitExtractMysqlComment slices on -1 index
-
ExecutionGo runtime panic crashes Matching process
-
ImpactRepeat 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (Temporal).
CVSS VectorVendor: Temporal
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
The net/http package in Go through 1.6 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and there
Critical certificate validation bypass in Go crypto/tls during session resumption. If ClientCAs or RootCAs fields are mu
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
Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and
Host header injection in Nezha 2.2.3's OAuth2 redirect endpoint (/api/v1/oauth2/{provider}) allows an unauthenticated re
Session cross-wiring in SUSE NeuVector before 5.6.1 allows an unauthenticated remote attacker to obtain another user's a
Unauthenticated path traversal in Uber Kraken through 0.1.29 allows remote attackers to read files outside the configure
The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import pa
Account takeover in Klever-Go's KleverUpdateAccountPermission built-in (all versions prior to 1.7.20) allows an attacker
Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r
Path traversal in the uniget CLI (Go module gitlab.com/uniget-org/cli) before version 0.27.6 lets a local user read and
EUVD-2026-83891
GHSA-g9jq-gq4v-4rw3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB