{"schema":"threatline.record/2","record":{"id":"CVE-2026-112307","aliases":[],"summary":"sqlparse through 0.6.0 PHP Code Injection via output_format='php'","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.","categories":["Unclassified"],"product":"sqlparse","vendor":"andialbrecht","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-112307","source_modified_at":"2026-10-19T16:41:10.929Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"sqlparse","vendor":"andialbrecht","versions":[{"version":"0","lessThanOrEqual":"0.6.0","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":8.4,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00144,"percentile":0.03382,"score_date":"2026-10-23"},"published_at":"2026-10-19T15:28:57.066Z","modified_at":"2026-10-19T16:41:10.929Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-112307","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T16:41:10.929Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-112307","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/andialbrecht/sqlparse/pull/930","tags":["patch","issue-tracking"]},{"source":"CVE List","url":"https://github.com/andialbrecht/sqlparse/blob/0.6.0/sqlparse/filters/output.py","tags":["technical-description"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/sqlparse-through-0.6.0-php-code-injection-via-output-format-php","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-19T16:40:54.543031Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-19T16:41:10.929Z","content_hash":"2b90be843d02b133d1e2164b04316e4a7b995be8f19ce37c41412890e046030d"}}
