Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with namespace read permission
-
DeliveryCraft SQL with deeply nested unary expressions
-
ExploitSubmit via visibility/archival/worker-query path
-
ExecutionParser builds deep AST, String/Walk recurses
-
PersistGo stack overflow fatally crashes Frontend/Matching
-
ImpactRepeat requests to sustain denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Requires an authenticated caller with namespace read permission against a Temporal Server deployment that routes caller-controlled SQL through the temporalio/sqlparser parser - specifically the archival, visibility, or worker-query paths (validation paths that recursively format an invalid expression when constructing an error). The attacker must supply SQL containing deeply nested unary expressions so the returned AST is correspondingly deep; String or Walk traversal then overflows the Go stack. LIMITING FACTORS: authentication with namespace read permission is required (contradicting the vector's PR:N); the dynamically confirmed ListWorkers route additionally requires at least one retained worker heartbeat; impact is availability-only (crashes Frontend/Matching, unrecoverable via Go panic recovery); patched in Temporal Server v1.30.7 and v1.31.3. |
| Impact | This is a genuine but bounded availability issue (CWE-674 uncontrolled recursion → unrecoverable Go stack overflow). The vendor CVSS 4.0 vector is 8.7 (High) with AV:N/AC:L/PR:N/UI:N/VA:H, which is availability-only (VC:N/VI:N) - the description confirms 'availability only; no confidentiality or integrity impact.' There is a notable conflict between the vector's PR:N and the prose: the description explicitly states exploitation occurs 'in a supported authenticated deployment' by 'a caller with namespace read permission,' which is authenticated access, implying PR:L rather than PR:N - the 8.7 score is inflated by treating this as unauthenticated. No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no evidence of active or automated exploitation; this is a self-reported finding by Temporal with a vendor patch, not an in-the-wild threat. The real-world priority is moderate: exploitation is trivial once a caller holds namespace read permission and crashes are unrecoverable (panic recovery cannot contain a fatal stack overflow), but the authentication requirement and availability-only impact keep it below critical. Signals are consistent (all point to DoS); the main caveat is the PR:N vs. authenticated-caller discrepancy - verify auth requirements against the Temporal advisory. |
| Exploit ScenarioDerived | An authenticated caller holding namespace read permission submits a visibility/archival/worker query whose SQL contains thousands of nested unary expressions (e.g. deeply stacked NOT/unary-minus operators). When the Temporal Server parses and then formats or walks the resulting deep AST - including while building an error for an invalid expression - the recursive String/Walk traversal overflows the Go stack and fatally terminates the Frontend or Matching process. No public POC was provided, but the flaw is dynamically confirmed by the vendor on the ListWorkers route (which additionally needs at least one retained worker heartbeat), and repeated requests sustain the outage. |
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 stems from uncontrolled recursion (CWE-674) in the bundled temporalio/sqlparser library: SQL containing deeply nested unary expressions is accepted and produces a correspondingly deep abstract syntax tree, and the library's recursive String and Walk traversals then exhaust the Go stack and abort the process in a way that Go panic recovery cannot contain. Affected are Temporal Server deployments prior to v1.30.7 and v1.31.3 that pass caller-controlled query text to the parser through the archival, visibility, and worker-query paths, including validation code that recursively formats an invalid expression while constructing an error. Exploitation requires an authenticated caller holding namespace read permission (the published CVSS 4.0 vector lists PR:N, but the reported prerequisites specify an authenticated caller and the independent assessment scores PR:L), the dynamically confirmed ListWorkers route additionally requires at least one retained worker heartbeat, and repeated requests can sustain the outage; impact is availability-only and no public exploit code or confirmed active exploitation was identified at time of analysis.
RemediationAI
Apply the vendor-released patch by upgrading Temporal Server to v1.30.7 or v1.31.3 (https://github.com/temporalio/temporal/releases/tag/v1.30.7, https://github.com/temporalio/temporal/releases/tag/v1.31.3), which is delivered through the dependency bump in https://github.com/temporalio/temporal/pull/11202 raising github.com/temporalio/sqlparser to v0.0.0-20260722001706-17d16cfe1da5; downstream consumers that vendor the library directly should move to the sqlparser revisions containing the nesting limit (commits 0466b6b405accfaa781e4bef417933efc18bcaef and 1aae9baceee8e48525da8f56b07bf6a5ca7eb147, PRs #6 and #7). If upgrading immediately is not possible, the effective compensating controls are access-oriented rather than technical: restrict namespace read permission to fully trusted principals and close off the archival, visibility, worker-query, and ListWorkers query surfaces to untrusted tenants, since any caller who can reach those paths and can trigger a traversal of the deep tree can kill the process (trade-off: this narrows tenant functionality and relies on authorization hygiene rather than fixing the parser). Raising the Go runtime stack limit with debug.SetMaxStack only moves the overflow threshold and increases per-goroutine memory consumption, so it is at best a stop-gap and not containment. Because the fault is a runtime-fatal stack overflow, HTTP/gRPC panic-recovery middleware cannot help; run Frontend and Matching under a supervisor with automatic restart to shorten each outage window, and add coarse request-level limits on query size or nesting depth at the gateway edge as a temporary filter (trade-off: legitimate deeply nested queries will be rejected and the filter must be maintained until the patched build is deployed).
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 root cause is CWE-674 (uncontrolled recursion) in temporalio/sqlparser, a Go SQL parser used by Temporal Server. The parser imposes no applicable nesting limit on unary expressions, so attacker-supplied SQL with deeply nested unary operators yields a correspondingly deep AST; later recursive operations on that tree - the library's String formatting and Walk traversal - consume unbounded goroutine stack. In Go, stack exhaustion is a runtime-fatal condition rather than a recoverable panic, so recover()/panic-recovery middleware cannot contain it and the hosting process (Temporal Frontend or Matching) dies. Temporal's exposure is at the dependency boundary: CPE data lists both temporalio/sqlparser and Temporal Server as affected products, and the upstream SQL passes through queryParser.go in the archival filestore path (referenced at temporal v0.10.0), plus the visibility and worker-query paths, with the ListWorkers route confirmed dynamically. Fixes were made in the library itself - PRs #6 and #7 and commits 0466b6b405accfaa781e4bef417933efc18bcaef and 1aae9baceee8e48525da8f56b07bf6a5ca7eb147 (tree v0.1.0) - enforcing a nesting limit, and Temporal Server PR #11202 bumps the module dependency from github.com/temporalio/sqlparser v0.0.0-20260721183058-0466b6b405ac to v0.0.0-20260722001706-17d16cfe1da5 in go.mod/go.sum. The impact profile is availability-only: no confidentiality or integrity effect was identified.
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
Description requires an authenticated caller with namespace read permission (PR:L, not PR:N); low complexity, network-reachable, availability-only fatal process crash so A:H, C:N/I:N.
Primary rating from Vendor (Temporal).
CVSS VectorVendor: Temporal
DescriptionCVE.org
temporalio/sqlparser accepts SQL containing deeply nested unary expressions and can return a correspondingly deep abstract syntax tree without enforcing an applicable nesting limit. The library's String and Walk operations recursively traverse that tree. An application that parses attacker-controlled SQL and later formats or walks the returned tree can encounter a runtime-fatal Go stack overflow that terminates the process; Go panic recovery cannot contain this condition. Temporal Server passes caller-controlled query input through the affected parser in archival, visibility, and worker-query paths. In affected validation paths, the Server recursively formats an invalid expression while constructing an error. In a supported authenticated deployment, a caller with namespace read permission can terminate the receiving Frontend or Matching process. The dynamically confirmed ListWorkers route additionally requires at least one retained worker heartbeat. Repeated requests can sustain a denial of service. The issue affects availability only; no confidentiality or integrity impact was identified.
Executive ViewAI
Temporal Server deployments older than v1.30.7 and v1.31.3 can be forced to crash by crafted SQL query text, abruptly taking workflow orchestration offline for every namespace hosted on the affected cluster rather than degrading gracefully. The failure aborts the process in a way the runtime cannot recover from, so availability depends on restart and the condition can be triggered repeatedly by any caller meeting the access prerequisites. No public exploit code or active exploitation was identified at time of analysis, and vendor-released patches are available, making this a manageable but urgent availability risk.
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
Denial of service in Temporal Server allows an authenticated caller holding at least namespace read permission to crash
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
EUVD-2026-83892
GHSA-7vcf-7m3r-v7x3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB