ZeroDay Brief
CVE-2026-112307

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.

CVSS
7.3High
Chance of exploitation (EPSS)
0.14%
Published
Oct 19, 2026
In the news
Not yet
More from this vendor

What to do

A serious code injection flaw in Andialbrecht Sqlparse that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Andialbrecht Sqlparse
Through 0.6.0

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.

CWE-94

Affected products

Get alerts for these →

Timeline 7

Latest change: Nessus plugin 388619: SUSE SLED15 / SLES15 Security Update : python-sqlparse (SUSE-SU-2026:5497-1) (Nov 28, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 4

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”