CVE-2024-26020: Ankitects Anki arbitrary script execution vulnerability
An arbitrary script execution vulnerability exists in the MPV functionality of Ankitects Anki 24.04. A specially crafted flashcard can lead to a arbitrary code execution. An attacker can send malicious flashcard to trigger this vulnerability.
Published Jul 22, 2024 · Updated Nov 4, 2025
Affected packages
anki
- Ecosystem
- PyPI
- Affected
- < 24.06
- Fixed in
- 24.06
- Check
pip show anki
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An arbitrary script execution vulnerability exists in the MPV functionality of Ankitects Anki 24.04. A specially crafted flashcard can lead to a arbitrary code execution. An attacker can send malicious flashcard to trigger this vulnerability.
Credited to bee-san.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-26020
- https://talosintelligence.com/vulnerability_reports/TALOS-2024-1993
- https://github.com/ankitects/anki/commit/8d2e8b1e4fa3757581f224b1a57057d0455352ce
- https://skerritt.blog/anki-0day
- https://skii.dev/anki-0day
- https://github.com/advisories/GHSA-9gq7-p5w9-w899
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
