7.3Yüksek
CVE-2026-112307sqlparse through 0.6.0 PHP Code Injection via output_format='php'
Açıklama
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.
Zayıflık türü (CWE):
CWE-94
Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.
Etkilenen ürünler ve sürümler
| Üretici | Ürün | Sürümler | |
|---|---|---|---|
| andialbrecht | sqlparse | ≤ 0.6.0 | |
| sqlparse project | sqlparse | ≤ 0.6.0 |
Kaynaklar ve yamalar
- https://github.com/andialbrecht/sqlparse/pull/930 patchissue-tracking
- https://github.com/andialbrecht/sqlparse/blob/0.6.0/sqlparse/filters/output.py technical-description
- VulnCheck Advisory: sqlparse through 0.6.0 PHP Code Injection via output_format='php' third-party-advisory
- http://www.openwall.com/lists/oss-security/2026/11/10/20