CVE-2026-64677

Anki's local HTTP server is vulnerable to directory traversal attacks

Published Aug 6, 2026 CVSS 4.0 · 5.9 Medium EPSS 1.0% KEV · Not listed
Description
Anki is a program for creating and reviewing flashcards. Prior to 25.09.3, endpoints in Anki's local HTTP server do not adequately constrain requested media and built-in data paths, allowing scripts served from shared decks, or malicious websites combined with an origin-check bypass, to read local files through directory traversal. This issue is fixed in version 25.09.3.

Analysis

AI-generated

Technical impact

Anki’s local HTTP server accepts request paths that are not adequately confined, which allows directory traversal. An attacker can use specially crafted URLs to read arbitrary files from the local filesystem. This flaw, a classic example of CWE‑22, permits an attacker to access sensitive data such as personal documents, configuration files, or other hidden files that the running user can read.

Affected Systems

The vulnerability affects every installation of Anki running a local HTTP server and using a version older than 25.09.3, the version at which the vulnerability was resolved. The vendor is ankitects, and the product is the Anki flashcard application.

Risk and Exploitability

The CVSS score of 5.9 indicates a medium severity. EPSS is not available, so the probability of active exploitation is unknown. The flaw is not listed in the CISA KEV catalog. A local attacker who has control of the Anki process can craft and send a request to the local HTTP server or host a malicious script in a shared deck. By exploiting the directory traversal, the attacker can read any file that the Anki user process can access, without needing elevated privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Anki to version 25.09.3 or newer to apply the official fix.
  • Disable the local HTTP server or restrict connectivity to localhost if the feature is not required for your workflow.
  • Avoid using shared decks that may contain malicious scripts and ensure the origin check is properly enforced.

Generated by OpenCVE AI on August 7, 2026 at 01:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ankitects
Ankitects anki
Vendors & Products Ankitects
Ankitects anki
Type Values Removed Values Added
Description Anki is a program for creating and reviewing flashcards. Prior to 25.09.3, endpoints in Anki's local HTTP server do not adequately constrain requested media and built-in data paths, allowing scripts served from shared decks, or malicious websites combined with an origin-check bypass, to read local files through directory traversal. This issue is fixed in version 25.09.3.
Title Anki's local HTTP server is vulnerable to directory traversal attacks
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 5.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 8, 2026, 2:17 AM
Reserved
Jul 20, 2026, 5:12 PM
Status
Deferred
Published
Aug 6, 2026, 10:18 PM
Modified
Oct 24, 2026, 4:10 PM