Anki's local HTTP server does not sufficiently validate requests
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | aqt | < 25.9.3 | 25.9.3 |
References
- https://github.com/ankitects/anki/security/advisories/GHSA-869j-r97x-hx2g
- https://nvd.nist.gov/vuln/detail/CVE-2026-59153
- https://github.com/ankitects/anki/commit/858e5689d0e4fd24f74856c7e8f245412694a219
- https://github.com/ankitects/anki
- https://github.com/ankitects/anki/releases/tag/25.09.3
- https://x.com/taviso/status/2051310678800253318
- https://pypi.org/project/aqt
- https://github.com/advisories/GHSA-869j-r97x-hx2g
- 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- Weakness (CWE)
CWE-22, CWE-346- Platform
- Python (PyPI)
- Package
aqt- Disclosed
- 19.06.2026
- Updated
- 11.10.2026 14:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-3459 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-869j-r97x-hx2g - CC BY 4.0
Vulnerability history: aqt
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 06.2026 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2026: 2
-
Anki's local HTTP server does not sufficiently validate requests this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.