VDB
Sign up
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

PyPI/anki
Introduced in: 0Fixed in: 24.6
Fixpip install --upgrade 'anki>=24.6'

References