GHSA-869J-R97X-HX2G
Vulnerability from github – Published: 2026-06-19 22:10 – Updated: 2026-06-19 22:10Summary
Anki launches a local HTTP server to serve media files and web pages for parts of its interface. The server fails to validate requests in the following ways: 1. No sufficient validation of the Origin header. 2. Some endpoints are vulnerable to path traversal attacks.
This allows malicious websites to exfiltrate local files given a known path.
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
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 25.9.2"
},
"package": {
"ecosystem": "PyPI",
"name": "aqt"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "25.9.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-22",
"CWE-346"
],
"github_reviewed": true,
"github_reviewed_at": "2026-06-19T22:10:57Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "## Summary\n\nAnki launches a local HTTP server to serve media files and web pages for parts of its interface. The server fails to validate requests in the following ways:\n1. No sufficient validation of the Origin header.\n2. Some endpoints are vulnerable to path traversal attacks.\n\nThis allows malicious websites to exfiltrate local files given a known path.\n\n## Browser impact\n\nThe 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:\n\nChrome/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.\nSafari: Hasn\u0027t implemented PNA yet, though macOS has some OS-level protections.\nFirefox: Most vulnerable \u2014 hasn\u0027t implemented PNA yet, though it\u0027s reportedly planned for Firefox 151.\n\n## Patches\n\nThe issue was fixed as of Anki 25.09.3",
"id": "GHSA-869j-r97x-hx2g",
"modified": "2026-06-19T22:10:57Z",
"published": "2026-06-19T22:10:57Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/ankitects/anki/security/advisories/GHSA-869j-r97x-hx2g"
},
{
"type": "PACKAGE",
"url": "https://github.com/ankitects/anki"
},
{
"type": "WEB",
"url": "https://x.com/taviso/status/2051310678800253318"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "Anki\u0027s local HTTP server does not sufficiently validate requests"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.