CVE-2026-65651CWE-674

CVE-2026-65651

published September 21, 2026

CVSS
8.7
EPSS
1%
Percentile
51.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
8.7 · NONE
CVSS v4.0
8.7 · 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
EPSS
0.00672 · 51.5th percentile
Weakness
CWE-674 · Uncontrolled Recursion
Published
2026-09-21T16:17Z
References (9)
EPSS history
Timeline
  • 23 SEP 03:47Z
    EPSS moved — → 1%
    epss
  • 21 SEP 11:34Z
    temporalio/sqlparser deeply nested unary expressions can cause a fatal stack overflow during AST traversal
    cvelistv5