{"cve":"CVE-2026-112307","nvd":{"published":"2026-10-19T16:17:06.727","modified":"2026-10-19T17:17:15.780","status":"Deferred","description":"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.","cvss_v4":{"vector":"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","score":8.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","score":7.3},"cwes":["CWE-94"],"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"],"products":[],"source":"nvd","synced_at":"2026-10-19T23:01:11.038652930+00:00"},"epss":{"cve":"CVE-2026-112307","score":0.00142,"percentile":0.03514,"date":"2026-10-25"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}