CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-65321

criticalCVSS 9.8covered by 1 sourcefirst seen 2026-08-02
PyAthena prior to 3.35.4 contains a sql injection vulnerability that allows unauthenticated attackers to inject arbitrary SQL by exploiting improper quote-escaping in DefaultParameterFormatter.format(), which routes DELETE and CTAS statements to the _escape_hive function that backslash-escapes single quotes rather than doubling them. Because Athena and Trino do not treat backslashes as escape characters inside string literals, attacker-supplied input such as a single quote followed by SQL syntax causes the parser to terminate the string literal prematurely, enabling data exfiltration via UNION SELECT, execution of destructive statements, and attacker-controlled CTAS destination and content.

⚡ Watch CVE-2026-65321

Get an email if CVE-2026-65321 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Advisory coverage (1)

External references

NVD record for CVE-2026-65321

CVE.org record

Embed the live status

CVE-2026-65321 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-65321 status](https://www.csirts.com/badge/CVE-2026-65321)](https://www.csirts.com/cve/CVE-2026-65321)