Answer in brief
CVE-2026-59894 records a Medium severity vulnerability in sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes. The current sources do not mark it as known exploited. The current feed maps andialbrecht/sqlparse (generic), sqlparse (pip), sqlparse (pypi). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
A CVSS score is not reported in the current record. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps andialbrecht/sqlparse (generic), sqlparse (pip), sqlparse (pypi). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| andialbrecht/sqlparsegeneric | < 0.6.0 | Not reported |
| sqlparsepip | <=0.5.5 | 0.6.0 |
| sqlparsepypi | >=0 <0.6.0 | 0.6.0 |
Published upstream
Aug 17, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Aug 17, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Aug 17, 2026
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.
Quoted source text, attributed separately from HOL analysis.
Answer in brief
CVE-2026-59894 records a Medium severity vulnerability in sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes. The current sources do not mark it as known exploited. The current feed maps andialbrecht/sqlparse (generic), sqlparse (pip), sqlparse (pypi). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
A CVSS score is not reported in the current record. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps andialbrecht/sqlparse (generic), sqlparse (pip), sqlparse (pypi). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| andialbrecht/sqlparsegeneric | < 0.6.0 | Not reported |
| sqlparsepip | <=0.5.5 | 0.6.0 |
| sqlparsepypi | >=0 <0.6.0 | 0.6.0 |
Published upstream
Aug 17, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Aug 17, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Aug 17, 2026
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.
Quoted source text, attributed separately from HOL analysis.