Echo: sqlparse: security update to 0.6.0

medium Tenable Self-Hosted Container Security Plugin ID 461284

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, sqlparse/filters/output.py
fails to escape existing backslashes before quotes in sqlparse.format output_format='python' and
output_format='php' and the corresponding sqlformat -l modes, allowing crafted SQL to terminate the
generated string and inject Python or PHP code when a downstream consumer executes or imports the
generated source. This issue is fixed in version 0.6.0. (CVE-2026-59894)

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

Plugin Details

Severity: Medium

ID: 461284

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/3/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.63

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

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

CVSS Score Source: CVE-2026-59894

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.2

Threat Score: 2.3

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L

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