ADVISORIES

PyPA Advisory Database

PYSEC-2026-1118

Anki Latex Incomplete Blocklist Vulnerability

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.

Affected packages

EcosystemPackageAffected versions
PyPIanki
All versions before 24.6 (fixed in 24.6)

References