Advisory

PYSEC-2026-3459

Also known as: CVE-2026-59153, GHSA-869j-r97x-hx2g

Summary

Anki's local HTTP server does not sufficiently validate requests

Details

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

Severity

Not rated by the source.

Dates

Published
2026-07-23 11:41 UTC
Modified
2026-07-23 15:00 UTC

Affected packages and fixes

aqt

PyPI · All systems

Affected

  • introduced 0, fixed 25.9.3 (ecosystem)

Fixed versions

25.9.3

Fix

  • Fixed version 25.9.3
    pip install --upgrade aqt==25.9.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences