Resource Exhaustion 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.26% (19th 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-19529144
  • published4 Sept 2026
  • disclosed17 Aug 2026

Introduced: 17 Aug 2026

CVE-2026-71491  (opens in a new tab)
CWE-400  (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, group_comments in sqlparse/engine/grouping.py repeatedly rescans comment-only statements before the MAX_GROUPING_TOKENS guard, causing quadratic CPU consumption through sqlparse.parse() and sqlparse.format(sql, strip_comments=True). This issue is fixed in version 0.6.0.

CVSS Base Scores

version 3.1