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.
Published: 2026-08-06
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 07 Aug 2026 02:30:00 +0000

Type Values Removed Values Added
First Time appeared Ankitects
Ankitects anki
Vendors & Products Ankitects
Ankitects anki

Thu, 06 Aug 2026 22:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-06T17:21:43.035Z

Reserved: 2026-07-20T17:12:12.892Z

Link: CVE-2026-64677

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T02:15:04Z

Weaknesses
  • CWE-22

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