PT-2026-67262

CVE-2026-65321

·

Published

2026-08-02

·

Updated

2026-09-24

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions PyAthena versions prior to 3.35.4
Description Unauthenticated attackers can inject arbitrary SQL due to improper quote-escaping in the DefaultParameterFormatter.format() function. Specifically, DELETE and CTAS statements are routed to the escape hive() function, which uses backslashes to escape single quotes instead of doubling them. Since Athena and Trino do not recognize backslashes as escape characters within string literals, a single quote in the input can prematurely terminate the string literal. This allows for data exfiltration via UNION SELECT, the execution of destructive statements, and unauthorized control over CTAS destination and content.
Recommendations Update PyAthena to version 3.35.4 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-XWJ5-G6CV-4R5C
CLEANSTART-2026-DS89074
CLEANSTART-2026-WC06247
Found an issue in the description? Have something to add? Feel free to write us 👾