Back to CVE records
High 8.7Published Sep 21, 2026

CVE-2026-65651temporalio/sqlparser deeply nested unary expressions can cause a fatal stack overflow during AST traversal

Updated under an hour ago ()

Does this affect you?

It affects Temporal Technologies, Inc. temporalio/sqlparser and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
8.7 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-674
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Temporal
NVD analysis
Awaiting Analysis
Record last updated
Sep 21, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Temporal Technologies, Inc. temporalio/sqlparser
temporal_technologies:temporalio_sqlparser (from the name)
from 0.0.0-20141206041240-1aae9baceee8 before 0.0.0-20260721183058-0466b6b405ac
CNA record
from 0.0.0 before 0.10.0 status unknown; from 0.10.0 through 1.29.7; from 1.30.0 before 1.30.7; from 1.31.0 before 1.31.3
CNA record

References

  • product
  • patch
  • patch
  • product
  • patch
  • patch
  • product
  • release-notes
  • release-notes

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.