MEDIUM5.3
PYSEC-2026-1118
Anki Latex Incomplete Blocklist Vulnerability
Quick fix
PYSEC-2026-1118 — anki: upgrade to the fixed version with the command below.
pip install --upgrade 'anki>=24.6'Details
An vulnerability in the handling of Latex exists in Ankitects Anki 24.04. When Latex is sanitized to prevent unsafe commands, the verbatim package, which comes installed by default in many Latex distributions, has been overlooked. A specially crafted flashcard can lead to an arbitrary file read. An attacker can share a flashcard to trigger this vulnerability.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-29073[ADVISORY]
- https://github.com/ankitects/anki/pull/3218[WEB]
- https://github.com/ankitects/anki/commit/06f7aa393d21d7d5dd8039e15d543b73c3346932[WEB]
- https://github.com/ankitects/anki[PACKAGE]
- https://skerritt.blog/anki-0day[WEB]
- https://skii.dev/anki-0day[WEB]
- https://talosintelligence.com/vulnerability_reports/TALOS-2024-1992[WEB]
- https://pypi.org/project/anki[PACKAGE]
- https://github.com/advisories/GHSA-x3r6-ccvq-cf5v[ADVISORY]