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.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Anki: User scripts in iframes have access to the internal Anki API

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

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

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.

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.

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

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. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

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

  1. 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.
  2. 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.
  3. Which versions of aqt are affected by GHSA-CW6H-FFMH-X6VH? aqt (pip) versions <= 25.9.3 is affected.
  4. 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.
  5. 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
  6. 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.
  7. How do I fix GHSA-CW6H-FFMH-X6VH? Upgrade aqt to 25.9.4 or later.

Other vulnerabilities in aqt

Stop the waste.
Protect your environment with Kodem.