CVE-20XX-?

CVE-2026-65321

9.3 CRITICAL 0.8% exploit odds Fix listed Injection Library

What it is

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.

At a glance

Exploitability
Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
Exploit odds
0.8% chance of exploitation in the next 30 days (EPSS).
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Details

Published
Last modified
Exploit probability
0.8% · EPSS, next 30 days
Weakness
CWE-89 · SQL injection
Record status
Deferred

Attack profile CVSS 4.0 · 9.3

Attack vector
Network
Complexity
Low
Attack requirements
None
Privileges needed
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Raw vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Meme: I wake up, CVE-2026-65321
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record