{"id":"CVE-2026-65651","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-65651","generatedAt":"2026-10-28T04:34:54.284Z","title":"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.","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.","published":"2026-09-21T12:17:16.000Z","lastModified":"2026-09-22T19:40:06.000Z","status":"Awaiting Analysis","sourceIdentifier":"security@temporal.io","cvss":{"version":"4.0","score":8.7,"severity":"HIGH","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/M"},"cwe":["CWE-674"],"affected":[],"epss":{"score":0.00672,"percentile":0.51865,"date":"2026-10-27","history":[{"date":"2026-09-22","score":0.00644,"percentile":0.49445}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.67%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-09-21T12:17:16.000Z","detail":{"score":"8.7","severity":"HIGH","publishedAt":"2026-09-21T12:17:15.553Z"},"summary":"New CVE, high severity (CVSS 8.7)."}],"references":[{"url":"https://github.com/temporalio/sqlparser/commit/0466b6b405accfaa781e4bef417933efc18bcaef","source":"security@temporal.io"},{"url":"https://github.com/temporalio/sqlparser/commit/1aae9baceee8e48525da8f56b07bf6a5ca7eb147","source":"security@temporal.io"},{"url":"https://github.com/temporalio/sqlparser/pull/6","source":"security@temporal.io"},{"url":"https://github.com/temporalio/sqlparser/pull/7","source":"security@temporal.io"},{"url":"https://github.com/temporalio/sqlparser/tree/v0.1.0","source":"security@temporal.io"},{"url":"https://github.com/temporalio/temporal/blob/v0.10.0/common/archiver/filestore/queryParser.go#L77-L132","source":"security@temporal.io"},{"url":"https://github.com/temporalio/temporal/pull/11202","source":"security@temporal.io"},{"url":"https://github.com/temporalio/temporal/releases/tag/v1.30.7","source":"security@temporal.io"},{"url":"https://github.com/temporalio/temporal/releases/tag/v1.31.3","source":"security@temporal.io"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-65651","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}