cbcvebase.
CVE-2026-59894
published 2026-08-17

CVE-2026-59894: 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…

PriorityP429medium6.2CVSS 4.0
AVLACLATNPRNUIPVCNVINVANSCHSIHSALEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.13%
2.3th percentile
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.

Affected

204 ranges· showing 25
VendorProductVersion rangeFixed in
andialbrechtsqlparse< 0.6.00.6.0
ansible-automation-platform-24controller-rhel8——
ansible-automation-platform-24eda-controller-rhel8——
ansible-automation-platform-24hub-rhel8——
ansible-automation-platform-24lightspeed-rhel8——
ansible-automation-platform-25ansible-dev-tools-rhel8——
ansible-automation-platform-25controller-rhel8——
ansible-automation-platform-25eda-controller-rhel8——
ansible-automation-platform-25gateway-rhel8——
ansible-automation-platform-25hub-rhel8——
ansible-automation-platform-25lightspeed-rhel8——
ansible-automation-platform-26ansible-dev-tools-rhel9——
ansible-automation-platform-26controller-rhel9——
ansible-automation-platform-26eda-controller-rhel9——
ansible-automation-platform-26gateway-rhel9——
ansible-automation-platform-26hub-rhel9——
ansible-automation-platform-26lightspeed-rhel9——
ansible-automation-platform-27aap-cloud-billing-rhel9——
ansible-automation-platform-27ansible-dev-tools-rhel9——
ansible-automation-platform-27controller-rhel9——
ansible-automation-platform-27eda-controller-rhel9——
ansible-automation-platform-27gateway-rhel9——
ansible-automation-platform-27hub-rhel9——
ansible-automation-platform-27lightspeed-rhel9——
ansible-automation-platform-27metrics-service-rhel9——

CVSS provenance

nvdv4.06.2MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat6.2MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.