CVE-2026-112307
HIGH 8.4CVSS 4.0sqlparse 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.
- Published
- 19 Oct 2026
- Last modified
- 10 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-94
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.4 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L |
References
- https://github.com/andialbrecht/sqlparse/blob/0.6.0/sqlparse/filters/output.py
- https://github.com/andialbrecht/sqlparse/pull/930
- https://www.vulncheck.com/advisories/sqlparse-through-0.6.0-php-code-injection-via-output-format-php
- http://www.openwall.com/lists/oss-security/2026/11/10/20
History
- 25 Nov 2026 21:22 UTC ยท NVD: first stored (published 19 Oct 2026)