SCA: security update for sqlparse (GHSA-pwgv-4x5q-6m9f)

high Tenable Self-Hosted Container Security Plugin ID 446013

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and
string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by
group_parenthesis and group_case, causing quadratic CPU consumption through sqlparse.parse(),
sqlparse.format(), and sqlparse.split() before depth and token limits terminate processing. This issue is
fixed in version 0.6.0. (CVE-2026-54284)

Solution

Update the sqlparse library and its related packages to version 0.6.0 or later.

See Also

https://github.com/advisories/GHSA-pwgv-4x5q-6m9f

Plugin Details

Severity: High

ID: 446013

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/17/2026

Updated: 8/17/2026

Risk Information

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2026-54284

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/17/2026

Vulnerability Publication Date: 8/17/2026

Reference Information

CVE: CVE-2026-54284