CVE-2026-112307CWE-94code-injection

CVE-2026-112307

High · published October 19, 2026

CVSS v3.1
7.3
EPSS
0%
Percentile
3.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
CVSS v4.0
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
EPSS
0.00144 · 3.4th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-10-19T20:17Z
References (3)
EPSS history
Timeline
  • 21 OCT 03:27Z
    EPSS moved — → 0%
    epss
  • 19 OCT 15:28Z
    sqlparse through 0.6.0 PHP Code Injection via output_format='php'
    cvelistv5
  • 19 OCT 15:28Z
    sqlparse through 0.6.0 PHP Code Injection via output_format='php'
    cvelistv5