sqlparse through 0.6.0 contains a PHP code injection vulnerability that allows attackers to inject PHP expressions by supplying SQL text containing unescaped dollar signs. Attackers can embed ${expr} or {${expr}} sequences that OutputPHPFilter places in double-quoted strings, executing arbitrary PHP code when the generated snippet runs.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 19 Oct 2026 15:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | sqlparse through 0.6.0 contains a PHP code injection vulnerability that allows attackers to inject PHP expressions by supplying SQL text containing unescaped dollar signs. Attackers can embed ${expr} or {${expr}} sequences that OutputPHPFilter places in double-quoted strings, executing arbitrary PHP code when the generated snippet runs. | |
| Title | sqlparse through 0.6.0 PHP Code Injection via output_format='php' | |
| First Time appeared |
Sqlparse Project
Sqlparse Project sqlparse |
|
| Weaknesses | CWE-94 | |
| CPEs | cpe:2.3:a:sqlparse_project:sqlparse:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Sqlparse Project
Sqlparse Project sqlparse |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-10-19T16:41:10.929Z
Reserved: 2026-10-19T14:14:28.728Z
Link: CVE-2026-112307
No data.
Status : Deferred
Published: 2026-10-19T16:17:06.727
Modified: 2026-10-19T16:17:06.843
Link: CVE-2026-112307
No data.
OpenCVE Enrichment
No data.
Weaknesses