Inclusion of Functionality from Untrusted Control Sphere Affecting anki package, versions [,24.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
3.56% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-ANKI-12671206
  • published15 Sept 2025
  • disclosed4 Sept 2025
  • creditAutumn Bee Skerritt, Jacob B.

Introduced: 4 Sep 2025

NewCVE-2024-29073  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade anki to version 24.6 or higher.

Overview

Affected versions of this package are vulnerable to Inclusion of Functionality from Untrusted Control Sphere due to incomplete LaTeX sanitization that fails to block the verbatim package. The Latex handling module overlooks the verbatim package during sanitization, allowing specially crafted flashcards to include commands that read arbitrary files. An attacker can exploit this by sharing a malicious flashcard that when rendered, causes the application to read files on the user’s system, potentially exposing sensitive local data.

CVSS Base Scores

version 4.0
version 3.1