GitHub Advisoryadvisory · PyPI

GHSA-869j-r97x-hx2g Anki's local HTTP server does not sufficiently validate requests

HIGH Published 2026-06-19 Modified 2026-07-15 Official page ↗
Aliases
CVE-2026-59153
Ecosystem
PyPI
Packages
aqt
Severity
High
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-22, CWE-346
Reviewed
2026-06-19

Affected packages

• PyPI aqt: < 25.9.3 → fixed in 25.9.3

Description

Summary Anki launches a local HTTP server to serve media files and web pages for parts of its interface. While the server has a CORS setup, requests from other origins were not blocked, allowing malicious websites to potentially trigger side-effecting requests. Browser impact The severity varies by browser because of Private Network Access (PNA), a newer spec that restricts web pages from making requests to localhost/local network addresses: Chrome/Chromium (including Edge, Brave): Largely protected, as Chrome has implemented PNA restrictions for several years and now puts local network access behind a permission prompt. Safari: Hasn't implemented PNA yet, though macOS has some OS-level protections. Firefox: Most vulnerable — hasn't implemented PNA yet, though it's reportedly planned for Firefox 151. Patches The issue was fixed as of Anki 25.09.3 References https://x.com/taviso/status/2051310678800253318

Related

Alias · CVE (1)

  • CVE-2026-59153 Anki is a program for creating and reviewing flashcards. vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-346 Origin Validation Error weakness

References