Uncontrolled Recursion Affecting github.com/temporalio/sqlparser package, versions <0.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.67% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMTEMPORALIOSQLPARSER-20078964
  • published24 Sept 2026
  • disclosed21 Sept 2026
  • creditUnknown

Introduced: 21 Sep 2026

NewCVE-2026-65651  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade github.com/temporalio/sqlparser to version 0.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion through the recursive traversal of deeply nested unary expressions in the AST. An attacker can cause a fatal stack overflow and terminate the process by submitting specially crafted SQL input that results in excessive nesting. This is only exploitable if the application parses attacker-controlled SQL and subsequently formats or walks the returned tree, and the attacker has namespace read permission in an authenticated deployment.

CVSS Base Scores

version 4.0
version 3.1