Skip to content
RedCVE

CVE-2026-65651Temporal Technologies Inc Temporalio/sqlparser uncontrolled recursion

Temporal Technologies, Inc.Published:

CVSS score

8.7

High

CVSS 4.0 from temporal.io

Exploit probability (EPSS)

0.67%

0.67% chance of exploitation in the next 30 days, higher than 53.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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: NVD · CNA: security@temporal.io

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Temporal Technologies, Inc. Temporalio/sqlparser, Temporal Technologies, Inc. Temporal Server and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Temporal Server to 1.30.7, 1.31.3 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. 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

Affected products

Affected productsVersions
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 · ≥ 1.30.0, < 1.30.7 · ≥ 1.31.0, < 1.31.3

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-65651 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.7% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-65651?

CVE-2026-65651 has a CVSS 4.0 base score of 8.7 (high).

Which versions are affected?

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; ≥ 1.30.0, < 1.30.7; ≥ 1.31.0, < 1.31.3)

Is there a patch for CVE-2026-65651?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.