Amazon Linux 2027 Preview Security Advisory: ALAS2027-2026-346
Advisory Released Date: 2026-11-12
Advisory Updated Date: 2026-11-13
Severity:
Important
Issue Overview:
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. (CVE-2026-112307)
Affected Packages:
python-sqlparse
Issue Correction:
Run dnf update python-sqlparse --releasever 2027.0.20261112 or dnf update --advisory ALAS2027-2026-346 --releasever 2027.0.20261112 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2027 documentation
New Packages:
noarch:
python3-sqlparse-0.6.1-1.amzn2027.0.1.noarch
src:
python-sqlparse-0.6.1-1.amzn2027.0.1.src