Skip to main content

Anki CVE-2026-59153

| EUVDEUVD-2026-42112 LOW
Origin Validation Error (CWE-346)
2026-07-07 GitHub_M GHSA-869j-r97x-hx2g
2.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim opens Anki with local HTTP server active
  2. Delivery
    Victim browses attacker-controlled website
  3. Exploit
    Malicious JS targets localhost Anki server port
  4. Execution
    Browser forwards cross-origin request (PNA absent or bypassed)
  5. Persist
    Anki server processes unauthorized request
  6. Impact
    Limited data disclosure or side-effecting state change

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the victim must have Anki open and its local HTTP server actively running at the time of the attack; (2) the victim must visit an attacker-controlled webpage in the same browser session; (3) the victim's browser must not enforce Private Network Access (PNA) protections - browsers such as recent Chromium releases with PNA enabled will block the cross-origin localhost request with a preflight rejection, defeating the attack. Authentication is not required from the attacker's perspective (PR:N), but the local server is implicitly 'authenticated' by being reachable only on the victim's own machine. The non-default condition limiting exploitation is the browser's PNA posture: Firefox and older Chromium builds without PNA represent the primary at-risk population.

Impact

The CVSS 4.0 score of 2.1 with vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N accurately reflects a low-priority finding. AT:P encodes the critical constraint: browsers with PNA enforcement already block this class of attack, meaning exploitation is limited to browsers lacking that protection. UI:A requires the victim to actively visit a malicious website while Anki is simultaneously running. The confidentiality, integrity, and availability impacts are all rated Low, and there is no subsequent-system impact. No EPSS data was provided, no CISA KEV listing exists, and no confirmed POC exploit code has been published - Tavis Ormandy's public tweet indicates researcher-level awareness but not weaponized exploitation. This is a genuine but low-urgency issue: the real-world attack surface is constrained by browser security evolution, and the impact even in a successful exploit is limited to minor data disclosure or localized state changes in the Anki process.

Exploit ScenarioDerived

A victim with Anki running visits an attacker-controlled webpage. The page's JavaScript issues fetch requests targeting the Anki local HTTP server (typically on localhost with a fixed or discoverable port). In browsers without Private Network Access enforcement, these requests are forwarded without preflight, allowing the attacker to invoke Anki server endpoints that produce side effects such as reading media metadata or triggering local operations.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 07, 2026

Cross-origin request forgery against Anki's local HTTP server allows a malicious website to trigger unauthorized side-effecting requests to the application while it is running on the victim's machine. All Anki versions prior to 25.09.3 are affected (CPE: cpe:2.3:a:ankitects:anki:*:*:*:*:*:*:*:*). The practical severity varies significantly by browser: implementations with Private Network Access (PNA) protections block such requests by default, limiting real-world impact to older or less-restrictive browser configurations. No public exploit identified at time of analysis, though security researcher Tavis Ormandy (Google Project Zero) publicly discussed the issue on X, indicating independent researcher awareness.

RemediationAI

Vendor-released patch: 25.09.3. Users should upgrade to Anki 25.09.3 or later, available from the official release page at https://github.com/ankitects/anki/releases/tag/25.09.3. The underlying fix is documented in commit 858e5689d0e4fd24f74856c7e8f245412694a219. As a compensating control prior to patching, users can ensure their browser enforces Private Network Access protections - Chromium-based browsers with PNA enabled already block the attack vector at the browser layer, though this should not be treated as a permanent substitute for upgrading. There are no known side effects of upgrading to 25.09.3.

Affected VersionsENISA

Anki < 25.09.3

Affected Packages

pypi aqt fix: 25.9.3
euvd anki fix: 25.09.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Anki (by Ankitects) runs a local HTTP server on the user's machine to serve media files and web-based UI components - a common pattern in desktop applications that embed web rendering. CWE-346 (Origin Validation Error) is the root cause: the server failed to validate or reject requests originating from external web origins, making it reachable from any webpage loaded in the user's browser via JavaScript fetch or XMLHttpRequest calls targeting localhost. The Private Network Access (PNA) specification, implemented in Chromium-based browsers, is intended to require explicit opt-in (via CORS preflight with Access-Control-Allow-Private-Network) before public-internet pages can reach localhost services. The vulnerability's exploitability is therefore gated on whether the victim's browser enforces PNA - reflected in the CVSS 4.0 AT:P (attack requirements present) metric.

Know when Anki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.2 MEDIUM

AC:H reflects the dual requirement of Anki running and a non-PNA browser; UI:R for mandatory malicious-site visit; no availability impact evident from the description.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 07, 2026 - 23:01 EUVD

DescriptionCVE.org

Anki is a program for creating and reviewing flashcards. Prior to 25.09.3, Anki launches a local HTTP server to serve media files and web pages for parts of its interface, but requests from other origins were not sufficiently blocked. A malicious website could potentially trigger side-effecting requests to the local server, with severity varying by browser depending on Private Network Access protections. This issue is fixed in version 25.09.3.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
popular cross-platform flashcard app, large student user base
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Anki

View all

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy