SCA: security update for sqlparse (GHSA-prg7-hcfm-mfcr)

high Tenable Cloud Security Plugin ID 446000

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, SQL_REGEX in
sqlparse/keywords.py and the per-position loop in sqlparse/lexer.py repeatedly scan unmatched dollar-
quoted literal and multiline-comment delimiters, causing quadratic CPU consumption through
sqlparse.parse(), sqlparse.format(), and sqlparse.split(). This issue is fixed in version 0.6.0.
(CVE-2026-59893)

Solution

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

See Also

https://github.com/advisories/GHSA-prg7-hcfm-mfcr

Plugin Details

Severity: High

ID: 446000

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: 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-59893

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

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-59893