Algorithmic Complexity Affecting dbt-core package, versions <1.12.3-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.19% (8th 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-CHAINGUARDLATEST-DBTCORE-19529130
  • published4 Sept 2026
  • disclosed1 Sept 2026

Introduced: 1 Sep 2026

CVE-2026-84305  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Chainguard dbt-core to version 1.12.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dbt-core package and not the dbt-core package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse.format(sql, reindent=True) and sqlformat --reindent route attacker-controlled parenthesized tuple lists through ReindentFilter._get_offset() in sqlparse/filters/reindent.py, where _flatten_up_to_token() repeatedly rebuilds and joins the statement prefix. Thousands of offset calculations walk an expanding token tree, producing quadratic CPU consumption for inputs that remain below MAX_GROUPING_TOKENS and causing request delays, reduced throughput, or worker starvation. This issue is fixed in version 0.6.0.

CVSS Base Scores

version 3.1