Source: sqlparse
Version: 0.5.5-2
X-Debbugs-CC: [email protected]
Severity: important
Tags: security upstream
Hi,
The following vulnerability was published for sqlparse.
CVE-2026-112307[0]:
| 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.
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-112307
https://www.cve.org/CVERecord?id=CVE-2026-112307
[1]
https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-xmww-55xg-h3vc
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore