aqt

GHSA-CW6H-FFMH-X6VH

GHSA-CW6H-FFMH-X6VH is a medium-severity path traversal vulnerability in aqt (pip), affecting versions <= 25.9.3. It is fixed in 25.9.4.

Key facts
CVSS score
6.5
Medium
Attack vector
Network
Issuing authority
GitHub Advisory Database
Affected package
aqt
Fixed in
25.9.4
Disclosed
Not available

Summary

Summary Anki's webview-based pages communicate with the Rust backend using an internal localhost API. Anki implements measures to prevent user scripts run in the reviewer/editor from accessing this API (https://github.com/ankitects/anki/pull/3925) but it inadvertently allows access to scripts included via iframes in the editor. While overall only a limited set of API methods are exposed, some such as getImageForOcclusion can read arbitrary files. CWE: CWE-22 (Path Traversal) Reporter: Bankde (Eakasit) Affected Products | Ecosystem | Package | Affected Versions | | --------- | ------- | ----------------- | | PyPI | aqt | <= 25.09.3 | Impact Any desktop Anki user (Windows, macOS, Linux) who imports an untrusted .apkg and views card with an embedded iframe is vulnerable. No special configuration is required. The attacker can read any file accessible to the Anki process and exfiltrate its contents over the network. Patches A patch is available in 25.09.4 Workarounds Do not import .apkg files from untrusted sources. Inspect .apkg contents (it's a ZIP) for .html/.svg files with <script> tags before importing. Block unexpected outbound network requests from the Anki process at the firewall level. References Vulnerability report: Anki arbitrary file read vulnerability (with exfiltration), Bankde (Eakasit) Affected source: qt/aqt/mediasrv.py::handlelocalfilerequest Related prior CVEs: CVE-2024-29073, CVE-2024-32484, CVE-2025-62185, CVE-2025-62187

Impact

What is path traversal?

Input manipulates file paths to reach files outside the intended directory, such as configuration or credential files. Typical impact: unauthorized file read or write outside the intended directory.

Severity and exposure

GHSA-CW6H-FFMH-X6VH has a CVSS score of 6.5 (Medium). The vector is network-reachable, no privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (25.9.4). Upgrading removes the vulnerable code path.

Affected versions

pip

  • aqt (<= 25.9.3)

Security releases

  • aqt → 25.9.4 (pip)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's runtime-powered SCA identifies whether GHSA-CW6H-FFMH-X6VH is reachable in your applications. Explore open-source security for your team.

See if GHSA-CW6H-FFMH-X6VH is reachable in your applications. Get a demo

Already deployed Kodem? See GHSA-CW6H-FFMH-X6VH in your environment

Remediation advice

Upgrade aqt to 25.9.4 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about GHSA-CW6H-FFMH-X6VH

What is GHSA-CW6H-FFMH-X6VH?

GHSA-CW6H-FFMH-X6VH is a medium-severity path traversal vulnerability in aqt (pip), affecting versions <= 25.9.3. It is fixed in 25.9.4. Input manipulates file paths to reach files outside the intended directory, such as configuration or credential files.

How severe is GHSA-CW6H-FFMH-X6VH?

GHSA-CW6H-FFMH-X6VH has a CVSS score of 6.5 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which versions of aqt are affected by GHSA-CW6H-FFMH-X6VH?

aqt (pip) versions <= 25.9.3 is affected.

Is there a fix for GHSA-CW6H-FFMH-X6VH?

Yes. GHSA-CW6H-FFMH-X6VH is fixed in 25.9.4. Upgrade to this version or later.

Is GHSA-CW6H-FFMH-X6VH exploitable, and should I be worried?

Whether GHSA-CW6H-FFMH-X6VH is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether GHSA-CW6H-FFMH-X6VH is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix GHSA-CW6H-FFMH-X6VH?

Upgrade aqt to 25.9.4 or later.

Stop the waste.
Protect your environment with Kodem.