Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
Temporal Technologies, Inc. temporalio/sqlparser
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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 ap

CVSS 6.0 · Medium EPSS 0.64% · P49

Affected Version Matrix 5

VendorProduct Version RangeStatus
Temporal Technologies, Inc. Temporal Server 0.0.0< 0.10.0 unknown
0.10.0≤ 1.29.7 affected
1.30.0< 1.30.7 affected
1.31.0< 1.31.3 affected
Temporal Technologies, Inc. temporalio/sqlparser 0.0.0-20141206041240-1aae9baceee8< 0.0.0-20260721183058-0466b6b405ac affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-65651

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
temporalio/sqlparser deeply nested unary expressions can cause a fatal stack overflow during AST traversal
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的递归
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Temporal Technologies, Inc. temporalio/sqlparser 0.0.0-20141206041240-1aae9baceee8 ~ 0.0.0-20260721183058-0466b6b405ac -
Temporal Technologies, Inc. Temporal Server 0.10.0 ~ 1.29.7 cpe:2.3:a:temporal:temporal:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-65651

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-65651

登录查看更多情报信息。

Patches & Fixes for CVE-2026-65651 (4)

Other References for CVE-2026-65651 (4)

Same Patch Batch · Temporal Technologies, Inc. · 2026-09-21 · 8 CVEs total

CVE-2026-89139 8.7 HIGH Temporal Server worker deployment compute provider executes a caller-supplied command on t
CVE-2026-65653 8.7 HIGH temporalio/tchannel-go zero-chunk call fragment causes process termination
CVE-2026-65654 8.7 HIGH temporalio/ringpop-go fails to enforce configured label limits on inbound membership gossi
CVE-2026-65652 8.7 HIGH temporalio/tchannel-go malformed checksum type causes process termination
CVE-2026-87858 7.2 HIGH Temporal Server completion callback source header can direct attacker-chosen requests to t
CVE-2026-16652 7.1 HIGH Temporal Server Schedule exclusion search can cause excessive CPU consumption
CVE-2026-16651 7.1 HIGH temporalio/sqlparser malformed MySQL version comments can cause a panic

IV. Related Vulnerabilities

V. Comments for CVE-2026-65651

No comments yet


Leave a comment