SecurityContext

CVE-2026-65651: Temporalio sqlparser - Denial of Service

  • Cve: CVE-2026-65651
  • Name: Temporalio sqlparser - Denial of Service
  • 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.
  • Impact: Authenticated attackers can cause a stack overflow crash, leading to denial of service of Temporal Server components.
  • Remediation: Update to the latest version with enforced nesting limits in sqlparser.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker needs namespace read permission; ListWorkers route requires retained worker heartbeat
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.7
  • Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00672
  • Epss percentile: 0.53026
  • Assignee: [email protected]
  • Published at: 2026-09-21T12:17:15Z
  • Age in days: 64
  • Modified at: 2026-09-22T19:40:05Z
  • Patch available: yes
  • References total: 9
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-65651
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-674Uncontrolled Recursion

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/temporalio/sqlparser/commit/0466b6b405accfaa781e4bef417933efc18bcaef
https://github.com/temporalio/sqlparser/commit/1aae9baceee8e48525da8f56b07bf6a5ca7eb147
https://github.com/temporalio/sqlparser/pull/6
https://github.com/temporalio/sqlparser/pull/7
https://github.com/temporalio/sqlparser/tree/v0.1.0
https://github.com/temporalio/temporal/blob/v0.10.0/common/archiver/filestore/queryParser.go#L77-L132
https://github.com/temporalio/temporal/pull/11202
https://github.com/temporalio/temporal/releases/tag/v1.30.7
https://github.com/temporalio/temporal/releases/tag/v1.31.3

Products

ProductAffectedPlatform boundSourcesUrl
temporal:temporal>= 1.31.0, < 1.31.3; >= 1.30.0, < 1.30.7; >= 0.10.0, <= 1.29.7nocna_cpes/v1/products/temporal/temporal

Projects

RepositoryLink kindsIndexedUrl
temporalio/temporalpull, releasesyes/v1/repositories/temporalio/temporal
temporalio/sqlparsercommit, pullyes/v1/repositories/temporalio/sqlparser

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 1656
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports