Echo: sqlparse: security update to 0.6.0

high Tenable Cloud Security Plugin ID 462741

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://advisory.echohq.com/cve/CVE-2026-54284

Plugin Details

Severity: High

ID: 462741

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.62

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

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/18/2026

Vulnerability Publication Date: 8/17/2026

Reference Information

CVE: CVE-2026-54284

IAVA: 2026-A-0893