{"id":"CVE-2026-112307","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-112307","summary":"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…","details":"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.","published":"2026-10-19T16:17:06.727","modified":"2026-10-19T16:17:06.843","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/andialbrecht/sqlparse/pull/930","label":"andialbrecht/sqlparse#930"},"references":[{"type":"WEB","url":"https://github.com/andialbrecht/sqlparse/blob/0.6.0/sqlparse/filters/output.py"},{"type":"WEB","url":"https://github.com/andialbrecht/sqlparse/pull/930"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/sqlparse-through-0.6.0-php-code-injection-via-output-format-php"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-10-19T16:17:06.843"}}