Anki is a program for creating and reviewing flashcards. Prior to 25.09.4, Anki's webview-based pages communicate with the Rust backend using an internal localhost API, and user scripts included via iframes in the editor can access this API despite protections intended to block reviewer and editor scripts. A malicious imported card package with an embedded iframe can use exposed API methods such as getImageForOcclusion to read arbitrary files accessible to the Anki process and exfiltrate them over the network. This issue is fixed in version 25.09.4.
CVE-2026-58266
This medium-severity CVE scores 6.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 94% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(medium)
- EPSS
- 6.5%
- KEV
- Not listed
Published
July 7, 2026
Last Modified
July 8, 2026
Advisory Details (3)
Auto-updated Jul 7, 2026User scripts in iframes have access to the internal Anki API · Advisory · ankitects/anki · GitHub
https://github.com/ankitects/anki/security/advisories/GHSA-cw6h-ffmh-x6vh25.09.4
Patch available: ankitects/anki 25.09.4
https://github.com/ankitects/anki/releases/tag/25.09.4commit b2b68d829e85 (ankitects/anki)
Fix landed in ankitects/anki commit b2b68d829e85 — awaiting tagged release
https://github.com/ankitects/anki/commit/b2b68d829e853da51b5de8aad6c13b53e90bc20dAffected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| aqt | 2.1.24 ... 25.9rc1 (188 versions) | 25.9.4 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 5× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. 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. Most recent first.
- 2026-07-08 19:50 UTCEG score recompute
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 21:37 UTCEG score recompute
- 2026-07-07 21:37 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-346
Frequently asked(5)
What is CVE-2026-58266?
When was CVE-2026-58266 disclosed?
Is CVE-2026-58266 actively exploited?
What is the CVSS score of CVE-2026-58266?
How do I remediate CVE-2026-58266?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-58266
Is Your Infrastructure Affected by CVE-2026-58266?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.