CVE-2026-65321

CRITICALPre-NVD 9.89.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to the CVSS score beside it.

This critical-severity CVE scores 9.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.8% (55th percentile of EPSS-scored CVEs). No GitHub Security Advisory CVSS is on record for this CVE.

Triggered by: Headline CVSS from a secondary CVSS source
Sources: EPSS, a secondary CVSS source

Also known asEUVD-2026-52004 (ENISA EUVD)Source: ENISA EUVD

9.8EG
EchelonGraph verdictPlan mitigationNo release containing the referenced fix is confirmed: check the referenced fix and the vendor's advisory for a release that contains it; until one is applied, restrict network exposure of the affected system or apply the vendor's mitigation on your normal schedule at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0.8%CVSS: 9.8Exploit: None knownExposed services: Not assessed

A fix is referenced (a reference tagged "Patch", often a source commit), but no release containing it is confirmed — find the release that contains it; until it is applied, mitigate (WAF / firewall / segmentation).

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.

CVSS v3
9.8
EG Score
9.8CRITICALmedium confidence
EG Risk
59
EG Risk 59/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity98% × 45%
Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation0.8% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability100% × 15%
CISA's SSVC Automatable value: yes (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is referenced, but no release containing it is confirmed. Check the referenced fix and the vendor's advisory for a release that contains it; until one is applied, restrict network exposure of the affected system or apply the vendor's mitigation on your normal schedule at low or medium mission impact and sooner than that at high.
EPSS PROB
0.8%
EPSS %ILE
55th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.

EG Severity
9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.a secondary CVSS source · CVSS v3.0 or v3.1
EG Likelihood
0.8% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-01). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.No released fix is confirmed on this page, but CISA's timeline does not wait for a fix's release: it starts when an agency identifies the flaw on an asset and updates the CDM Agency and Federal Dashboard, and the directive counts patching, decommissioning the system or another action as remediation. Until a fixed release is applied, mitigate as this page's verdict says.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).

A fix is referenced, but no release containing it is confirmed. Check the referenced fix and the vendor's advisory for a release that contains it; until one is applied, restrict network exposure of the affected system or apply the vendor's mitigation on your normal schedule at low or medium mission impact and sooner than that at high.

Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.

No released fix is confirmed on this page, but CISA's timeline does not wait for a fix's release: it starts when an agency identifies the flaw on an asset and updates the CDM Agency and Federal Dashboard, and the directive counts patching, decommissioning the system or another action as remediation. Until a fixed release is applied, mitigate as this page's verdict says.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

August 2, 2026

Last Modified

October 23, 2026

Advisory Details (6)

Auto-updated Oct 27, 2026
Fix referenced — no release confirmed yet. Sources: github, github_commit.
Web page

PyAthena SQL Injection via DefaultParameterFormatter DELETE/CTAS | Advisories | VulnCheck

https://www.vulncheck.com/advisories/pyathena-sql-injection-via-defaultparameterformatter-delete-ctas
Web page

GitHub - rahulreddykarne/CVE-2026-65321-pyathena: SQL injection in PyAthena via DefaultParameterFormatter (CVE-2026-65321) · GitHub

https://github.com/rahulreddykarne/CVE-2026-65321-pyathena
GitHub commit

commit 27901d12245e (pyathena-dev/PyAthena)

Fix landed in pyathena-dev/PyAthena commit 27901d12245e — awaiting tagged release

https://github.com/pyathena-dev/PyAthena/commit/27901d12245ea722b3b4e211c60e2ade4e7c8efd
GitHub advisoryMentions a patch (unverified)

SQL injection in DefaultParameterFormatter for DELETE and CTAS statements · Advisory · pyathena-dev/PyAthena · GitHub

https://github.com/laughingman7743/PyAthena/security/advisories/GHSA-xwj5-g6cv-4r5c
Web page

GitHub - pyathena-dev/PyAthena: PyAthena is a Python DB API 2.0 (PEP 249) client for Amazon Athena. · GitHub

https://github.com/laughingman7743/PyAthena
Web page

Rahul Karne — Cybersecurity Researcher

https://rahulkarne.com/#/cve/CVE-2026-65321

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 14× in last 7d / 58× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 100 of 165 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 65 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-02 09:48 UTCEG score recompute
  2. 2026-11-01 16:35 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  3. 2026-11-01 10:22 UTCEG score recompute
  4. 2026-10-31 16:33 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  5. 2026-10-31 10:56 UTCEG score recompute
  6. 2026-10-30 16:35 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  7. 2026-10-30 11:30 UTCEG score recompute
  8. 2026-10-29 16:33 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  9. 2026-10-29 12:05 UTCEG score recompute
  10. 2026-10-28 16:33 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  11. 2026-10-28 12:31 UTCEG score recompute
  12. 2026-10-27 16:32 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  13. 2026-10-27 00:22 UTCEG score recompute
  14. 2026-10-26 16:32 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  15. 2026-10-25 21:21 UTCEG score recompute
  16. 2026-10-25 16:33 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  17. 2026-10-25 14:12 UTCEG score recompute
  18. 2026-10-24 21:53 UTCEG score recompute
  19. 2026-10-24 16:33 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  20. 2026-10-23 22:28 UTCEG score recompute
  21. 2026-10-23 16:32 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  22. 2026-10-23 06:11 UTCEG score recompute
  23. 2026-10-22 16:35 UTCEPSS rescoreEPSS 0.8% · 55th percentile
  24. 2026-10-22 06:39 UTCEG score recompute
  25. 2026-10-21 16:33 UTCEPSS rescoreEPSS 0.8% · 54th percentile
Show 75 more
  1. 2026-10-21 07:08 UTCEG score recompute
  2. 2026-10-20 16:33 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  3. 2026-10-20 07:43 UTCEG score recompute
  4. 2026-10-19 16:32 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  5. 2026-10-19 08:15 UTCEG score recompute
  6. 2026-10-18 16:32 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  7. 2026-10-18 03:21 UTCEG score recompute
  8. 2026-10-17 16:35 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  9. 2026-10-17 06:46 UTCEG score recompute
  10. 2026-10-16 16:43 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  11. 2026-10-16 07:17 UTCEG score recompute
  12. 2026-10-15 16:32 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  13. 2026-10-15 06:12 UTCEG score recompute
  14. 2026-10-14 16:33 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  15. 2026-10-14 01:48 UTCEG score recompute
  16. 2026-10-13 16:34 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  17. 2026-10-12 22:01 UTCEG score recompute
  18. 2026-10-12 16:34 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  19. 2026-10-12 15:47 UTCEG score recompute
  20. 2026-10-11 19:32 UTCEG score recompute
  21. 2026-10-11 16:47 UTCEG score recompute
  22. 2026-10-11 14:08 UTCEG score recompute
  23. 2026-10-11 13:49 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  24. 2026-10-10 20:00 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  25. 2026-10-09 20:07 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  26. 2026-10-08 17:13 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  27. 2026-10-07 23:48 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  28. 2026-10-06 23:48 UTCEG score recompute
  29. 2026-10-06 15:18 UTCEPSS rescoreEPSS 0.8% · 54th percentile
  30. 2026-10-05 19:51 UTCEG score recompute
  31. 2026-10-05 17:43 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
  32. 2026-10-04 06:23 UTCEG score recompute
  33. 2026-10-03 14:26 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
  34. 2026-10-03 02:41 UTCEG score recompute
  35. 2026-10-02 17:56 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
  36. 2026-10-02 10:26 UTCEG score recompute
  37. 2026-10-01 19:50 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
  38. 2026-10-01 02:40 UTCEG score recompute
  39. 2026-09-30 15:03 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
  40. 2026-09-29 06:45 UTCEG score recompute
  41. 2026-09-28 13:51 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
  42. 2026-09-27 18:20 UTCEG score recompute
  43. 2026-09-26 15:59 UTCEPSS rescoreEPSS 0.8% · 53rd percentile
  44. 2026-09-24 21:25 UTCEG score recompute
  45. 2026-09-23 21:25 UTCEG score recompute
  46. 2026-09-23 17:54 UTCEPSS rescoreEPSS 1.0% · 60th percentile
  47. 2026-09-22 21:31 UTCEG score recompute
  48. 2026-09-22 06:50 UTCEG score recompute
  49. 2026-09-20 20:58 UTCEG score recompute
  50. 2026-09-20 20:16 UTCEPSS rescoreEPSS 1.0% · 60th percentile
  51. 2026-09-19 23:30 UTCEG score recompute
  52. 2026-09-18 22:24 UTCEG score recompute
  53. 2026-09-18 19:28 UTCEPSS rescoreEPSS 1.0% · 60th percentile
  54. 2026-09-18 01:13 UTCEG score recompute
  55. 2026-09-17 01:19 UTCEG score recompute
  56. 2026-09-16 14:08 UTCEPSS rescoreEPSS 1.0% · 60th percentile
  57. 2026-09-16 05:21 UTCEG score recompute
  58. 2026-09-16 05:15 UTCEPSS rescoreEPSS 1.0% · 60th percentile
  59. 2026-09-15 07:04 UTCEG score recompute
  60. 2026-09-13 18:10 UTCEG score recompute
  61. 2026-09-12 16:01 UTCEG score recompute
  62. 2026-09-11 14:54 UTCEG score recompute
  63. 2026-09-11 14:53 UTCEPSS rescoreEPSS 1.0% · 60th percentile
  64. 2026-09-11 09:39 UTCEG score recompute
  65. 2026-09-11 09:37 UTCEPSS rescoreEPSS 1.0% · 60th percentile
  66. 2026-09-10 12:54 UTCEG score recompute
  67. 2026-09-09 06:53 UTCEG score recompute
  68. 2026-09-08 22:01 UTCEPSS rescoreEPSS 1.0% · 60th percentile
  69. 2026-09-07 19:07 UTCEG score recompute
  70. 2026-09-07 16:01 UTCEPSS rescoreEPSS 1.0% · 60th percentile
  71. 2026-09-06 16:43 UTCEG score recompute
  72. 2026-09-06 13:47 UTCEPSS rescoreEPSS 1.0% · 60th percentile
  73. 2026-09-05 18:42 UTCEG score recompute
  74. 2026-09-05 15:31 UTCEPSS rescoreEPSS 1.0% · 59th percentile
  75. 2026-09-04 17:38 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-65321?
CVE-2026-65321 is a critical-severity vulnerability; its CVE record was published on August 2, 2026. 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…
When was CVE-2026-65321 made public?
CVE-2026-65321 was made public on August 2, 2026: that is the date its CVE record's CNA, VulnCheck, gives for when the vulnerability was made public. The CVE record itself was published on August 2, 2026. EchelonGraph's copy of the record carries a last-modified date of October 23, 2026; the record at its source may have been updated since.
Is CVE-2026-65321 actively exploited?
CVE-2026-65321 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.8% probability of exploitation in the next 30 days (55th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2026-65321?
CVE-2026-65321 has a CVSS base score of 9.8 (a secondary CVSS source that NVD displays; NVD's own analysis pending).
How do I remediate CVE-2026-65321?
A fix for CVE-2026-65321 is referenced (a reference tagged "Patch", often a source commit), but EchelonGraph has no release containing it on record. Check that reference and the vendor's advisory for a release that contains the fix and update to it; until then, restrict network exposure of the affected system or apply the vendor's mitigation.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-65321

Explore →

Is Your Infrastructure Affected by CVE-2026-65321?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.