PyPA Advisory Database
PYSEC-2026-1116
Ankitects Anki arbitrary script execution vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | anki | All versions before 24.06 (fixed in 24.06) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-26020
- https://github.com/ankitects/anki/commit/8d2e8b1e4fa3757581f224b1a57057d0455352ce
- https://github.com/ankitects/anki
- https://skerritt.blog/anki-0day
- https://skii.dev/anki-0day
- https://talosintelligence.com/vulnerability_reports/TALOS-2024-1993
- https://pypi.org/project/anki
- https://github.com/advisories/GHSA-9gq7-p5w9-w899