CVE-2026-112307

published 19 Oct 2026 · updated 10 Nov 2026

sqlparse through 0.6.0 PHP Code Injection via output_format='php'

7.3HighCVSS 7.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
andialbrecht<=0.6.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112307 severity on Zeptric[![CVE-2026-112307](https://zeptric.io/badge/cve/CVE-2026-112307.svg)](https://zeptric.io/cve/CVE-2026-112307)