CVE-2026-65651 in Temporal
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 f...
Affects 1 product from 1 vendor. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Temporal | Temporal | ≥ 0.10.0, ≤ 1.29.7 ≥ 1.30.0, < 1.30.7 ≥ 1.31.0, < 1.31.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-65651 |
|---|---|
| Published | 2026-09-21 |
| Last modified | 2026-09-22 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-674: CWE-674
Related attack patterns (CAPEC)
CAPEC-230 Serialized Data with Nested Payloads via CWE-674
CAPEC-231 Oversized Serialized Data Payloads via CWE-674
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A unscored severity vulnerability (CVE-2026-65651) affects the target system. 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 t...
Questions
What is CVE-2026-65651?
A unscored severity vulnerability (CVE-2026-65651) affects the target system. 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 t...
Is CVE-2026-65651 actively exploited?
No confirmed active exploitation of CVE-2026-65651 as of 2026-09-25.
How do I remediate CVE-2026-65651?
Apply vendor patches for CVE-2026-65651. Monitor Temporal advisories.
What systems are affected by CVE-2026-65651?
CVE-2026-65651 affects Temporal Temporal.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Temporal","product":"Temporal","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-22.