DuolingoDuolingo

Are the Anki decks you download safe? What changes with the update 26.09.4

Team at AiToolsForAppsWritten with AI assistance17 min read

In summary

  • Anki released version 26.09.4 on November 4, 2026 as a critical security update: it fixes two vulnerabilities that allowed execution of code from a shared deck (release notes for 26.09.4).
  • The first (advisory GHSA-j9v5-m549-cg6c, high severity, CVSS 8.6) allowed a .apkg file to bypass the editor's content policy and execute JavaScript within an iframe. The second (GHSA-gfvm-4968-jp9m, CVSS 7.8) affected only macOS: a manipulated image name was interpolated into AppleScript when using "Show in Folder".
  • This is not an isolated case: the 26.09 branch has accumulated five releases with security patches between September 14 and November 4, 2026, all related to imported material.
  • Importing a third-party deck is equivalent to running foreign software: a .apkg carries templates with HTML and JavaScript, media, and configuration. A two-column CSV or TXT, does not: it is plain text.
  • The alternative with less attack surface and better learning performance is to build your own deck by level and topic and export it as clean CSV. In six experiments, student-created cards outperformed pre-made ones (d = 0.45 in memory) according to Pan and colleagues (2023).
A pile of translucent study cards on a desk; one of them, illuminated in amber, opens and releases a dark thread in the shape of a circuit
A pile of translucent study cards on a desk; one of them, illuminated in amber, opens and releases a dark thread in the shape of a circuit

For years, the phrase "I don't think importing shared decks poses any danger" was the tacit consensus of the spaced repetition community. The update on November 4, 2026, is the most recent reminder that this statement was never true. This article explains what has been fixed, what real risk you take when downloading a deck from a stranger, how to check and update your installation, and why the material you create —the aiDuolingo approach, the AiToolsForApps tool for creating flashcards for Anki, grammar cards, and graded readings— is both the safest option and the one that performs best.


What does Anki 26.09.4 fix exactly?

Anki 26.09.4, released on November 4, 2026, is a security-only version: it closes two code execution pathways originating from shared decks and stops trusting a set of compromised intermediate certificates. The release notes themselves urge updating "as soon as possible," and the announcement on the official forum insists on doing so "on all platforms."

VulnerabilityIdentifierSeverityPlatformsHow it is triggered
Code execution via iframes in the editorGHSA-j9v5-m549-cg6cHigh · CVSS 8.6AllClick "Show" after importing, open the imported deck, or view the note in the editor
Command execution via manipulated image file nameGHSA-gfvm-4968-jp9mHigh · CVSS 7.8macOS onlyRight-click on an image from the deck → "Show in Folder"
Compromised intermediate certificates from eMudhra——AllStops trusting them; Anki also recommends updating the system

The technical detail of the first is instructive: according to the advisory, the Anki local HTTP server did not sufficiently validate requests to /_addons, allowing a deck to bypass the editor's Content Security Policy through specially crafted paths and execute JavaScript within an iframe. The listed weaknesses are CWE-647, CWE-829, and CWE-863. It affects versions up to and including 26.09.3; it is fixed in 26.09.4.

The second is a classic argument injection: when requesting "show in folder," macOS received an AppleScript command in which the image path was interpolated directly, without sanitization. A deck with a carefully crafted image name executed whatever its author wanted. According to the advisory, it affects the aqt branch from 24.10 up to 26.09.3.

The third point is not Anki's, but the ecosystem's: in October 2026, it was discovered that the private keys of eight intermediate CAs from eMudhra could be recovered due to a lack of entropy, and Chrome, Mozilla, Apple, and Microsoft blocked them between October 17 and 20 (BleepingComputer, The Hacker News). Anki joined the blocking effort in 26.09.4. Therefore, the announcement warns that updating only Anki may not be sufficient: the system must also be up to date.

Can a downloaded deck execute code on your computer?

Yes, and it is not a laboratory hypothesis. An .apkg package is not just a list of words: it contains card templates with HTML and JavaScript, multimedia files, and configuration options. Historically, each of these three components has served as a real attack vector, and the alerts from November 4, 2026, are the latest delivery in that series.

Comparison between a cluttered file box with cables and hidden files, with a dark thread escaping, and a clean two-column sheet
Comparison between a cluttered file box with cables and hidden files, with a dark thread escaping, and a clean two-column sheet

The best-documented precedent is the research published on skerritt.blog, in which the authors chained several exploitable vulnerabilities just by importing an apparently innocent deck: LaTeX commands encoded in hexadecimal to bypass filters and read arbitrary files, JavaScript in templates and programming configurations that accessed the media collection and exfiltrated data from prefs21.db, and —the most severe— remote code execution on Windows through the way Anki launched the mpv player: it was enough to leave a configuration file in the media folder for it to load a Lua script when the user played an audio. It was reported in April 2024, and the fixes were confirmed on June 7, 2024.

What is important to retain from that story and the alerts from 2026 is the pattern:

  • The deck is code, not data. As long as the format allows templates and media, any imported deck is third-party software running on your machine.
  • You don’t need to "do anything weird." The documented triggers are normal actions: importing, opening the deck, viewing a note in the editor, playing audio, clicking "show in folder."
  • The author’s reputation is not a technical guarantee. A popular deck changing hands, or a repository with open uploads, is enough to sneak in the file.
  • Fixes come, but they come later. Months pass between the existence of a flaw and its patch, and during that time your only defense is the provenance of the material.

Five security patches in less than two months: what the cadence of branch 26.09 says

Branch 26.09 has required five releases with security fixes between September 14 and November 4, 2026, and almost all point to the same issue: what an imported deck can do within the editor. It is the clearest signal that this attack surface is being actively audited —and that it is advisable to be on the latest version.

VersionDateWhat it includes in security
26.0914-09-2026Notes could read local files when viewed in the editor; "Open image" did not validate the file extension, allowing decks to execute dangerous files on some systems
26.09.115-09-2026Pre-release discarded due to packaging issues
26.09.215-09-2026Security and crash fixes on startup; manipulation of external links in deck descriptions
26.09.323-09-2026Explicitly recommends upgrading to 26.09+ due to included security fixes
26.09.404-11-2026Iframes in shared decks (CVSS 8.6) + "Show in Folder" on macOS (CVSS 7.8) + blocking of eMudhra CA

Source: release list of ankitects/anki (accessed on November 14, 2026). By that date, there is also a later beta, 26.11b1, from November 12, 2026: it is a preview, not the version you should use for daily study.

How do I check my version of Anki and update it?

First, check what version you have in Help → About (on macOS, Anki → About). If it does not start with 26.09.4, you are exposed to the two described flaws. Then update from the program itself or by reinstalling from the official website, and also check for operating system updates regarding the certificate issue.

Sequence of three steps: a magnifying glass over a panel, an amber upward arrow coming out of a container, and a closed shield with a lock
Sequence of three steps: a magnifying glass over a panel, an amber upward arrow coming out of a container, and a closed shield with a lock
  1. Check the version. Help → About on Windows and Linux; Anki → About on macOS.
  2. Enable automatic notifications. In Tools → Preferences → General there is an option to check for updates automatically. Note: the integrated notification tends to be reserved for major versions and after a while, so many minor revisions will not alert you on their own. With a critical update like this, do not expect the alert.
  3. Update. In recent installations, Tools → Upgrade/Downgrade closes Anki and opens the launcher to choose the version. If not, download 26.09.4 from the official Anki site and install it over; your collection will not be touched.
  4. Also update the system. The official announcement states explicitly: with the eMudhra incident, having Anki up to date is not enough if the system's certificate store continues to trust compromised intermediaries.
  5. Back up before touching anything. Export your collection (.colpkg) before changing versions. It is always a good practice, and here even more so.

And a warning that is not in the alerts but can be inferred from them: if you had already imported a deck from a dubious source before updating, updating does not revert what that deck may have done. Review the templates of imported decks, delete those you cannot justify, and change any passwords you have saved in the browser if the deck came from a clearly suspicious source.

What risk does each study material format have?

Not all formats are equally dangerous, and the difference is structural, not about trust: a format that cannot contain templates, scripts, or media cannot execute anything. Hence, CSV and TXT are the safe common denominator for exchanging spaced repetition material.

FormatWhat it carriesCan execute codeWhat it serves well for
.apkg / .colpkgNotes, templates with HTML/JS, media, scheduling configurationYes (vector for the alerts of 2026)Moving your own collection between your devices
.csv / .txtPlain text in columns, optionally with HTML if you declare itNoImporting vocabulary lists and questions from any source
Add-onsPython code with full system accessYes, by designAdvanced functions, only from authors you know
PDFDocument for reading or printing, outside of AnkiNo, in normal useGrammar cards and readings to work on paper

The Anki manual documents the header directives that a text file can carry since version 2.1.54: separator, html, tags, columns, notetype, deck, and the column variants (notetype column, deck column, tags column, guid column). With that, a CSV is already "preconfigured" —note type, target deck, and column names— without needing to package any executable. Two requirements: plain text and UTF-8 encoding.

Important: the directive html:true does make Anki interpret the content as HTML. A CSV that you have generated yourself with two text columns is harmless; a foreign CSV with HTML inside deserves a prior read in a text editor, as it is plain text and can be read entirely before importing. That is the real advantage of the format: it is auditable at a glance.

How to continue using shared decks with reasonable risk

If you do not want to give up community decks, the goal is to stop importing complete packages blindly. The practical rule: updated, converted to text, and reviewed before entering your main collection.

  • Be on 26.09.4 or later. It is the only non-negotiable point on the list.
  • Prefer text over the package. If the author publishes the content in CSV or TXT, use that version. If there is only .apkg, ask yourself if it is worth it.
  • Import into a separate profile. Anki supports multiple profiles: use a disposable one to inspect new material, and move to your real collection only the notes, not the templates.
  • Review the templates before studying. Look at the imported note type and its HTML. If there are <script>, <iframe>, or unusual paths, discard them.
  • Be suspicious of media. Audios and images you did not expect, with extravagant file names, are the exact signature of the macOS flaw patched on November 4, 2026.
  • Treat add-ons for what they are. An add-on is Python code with your user permissions; there is no sandbox to save you.
  • Backup before each large import. .colpkg off the machine.

Making your own deck is not just safer: you also learn more

Building your own cards eliminates the attack vector completely —there are no foreign templates, no foreign media, no foreign packages— and, moreover, experimental evidence shows that you learn more than with prefabricated material. In six experiments with a test at 48 hours, cards generated by the student themselves outperformed prefabricated ones in memory (d = 0.45; 95% CI [0.25–0.66]) and also in application questions (d = 0.29; 95% CI [0.12–0.45]).

Five ascending paper platform stairs, each with a small deck of cards and a theme icon, connected by an amber ribbon
Five ascending paper platform stairs, each with a small deck of cards and a theme icon, connected by an amber ribbon

The study is Pan, Zung, Imundo, Zhang, and Qiu, "User-Generated Digital Flashcards Yield Better Learning Than Premade Flashcards", published in the Journal of Applied Research in Memory and Cognition, 12(4), 574–588, December 2023. The explanation proposed by the authors is the generation effect: deciding what goes into the card, how the question is formulated, and what is left out is already a form of deep processing. By downloading a finished deck, you skip that part.

This is especially important in a context where downloading a deck is the norm. According to the Anki page on Wikipedia, a 2024 study found that 86.2% of surveyed U.S. medical students used Anki, and 66.5% daily; and the FSRS algorithm, integrated as an option since version 23.10 (2023), was trained with about 727 million repetitions from 10,000 users. That is: there is excellent infrastructure for scheduling repetitions, but the quality —and safety— of what is repeated still depends on the source of the content.

There is an honest nuance: making cards by hand is slow, and that is why so many people download. The reasonable solution is not to revert to the unknown deck, but to generate your own material in an assisted way and export it in an inert format.

What does a well-made custom deck look like

A defendable custom deck fulfills three things: it is limited to your level, it is limited to a topic, and it comes in a format that executes nothing. That is exactly the approach of aiDuolingo, the tool from AiToolsForApps for generating ready-to-import language study material for Anki — it is not affiliated with Duolingo, Inc. nor does it access your account or read your progress in any third-party app.

In practice, the material it generates is organized as follows:

  • Deck by level and topic. Five levels of the CEFR (A1, A2, B1, B2, and C1) and ten topics (travel, food, work, health, exam, home, shopping, technology, people, nature), plus the option to write your own topic. Study languages: English and Spanish, with the interface in six languages (es, en, fr, it, pt, de).
  • Clean CSV export. The CSV comes with two columns (Front/Back), UTF-8 BOM, and the header directives that Anki understands —#separator:tab, #html:true, #notetype:Basic, #deck:<title>, #columns:Front\tBack—, so it imports without any configuration. There is also export in TXT, PDF, and ZIP.
  • Editor before export. You can correct all the cards before generating the file; when editing, the already generated files become invalid so you don't end up with an old version.
  • Grammar cards and graded readings. A catalog of 24 grammar points (12 in English and 12 in Spanish) with 240 exercises curated from three deterministic types —fill in the blank, choose an option, and rewrite—, with a solutions sheet on a separate page; and graded readings with a glossary of 8 to 12 entries and 5 comprehension questions with solutions.
  • Optional audio. Voiceover of the word (not the example sentence) on up to 20 cards per deck.
  • Custom lists. You can start from your own list of up to 40 words instead of the catalog.
  • No registration to try. The guest mode allows you to generate a deck of up to 8 cards without creating an account; file downloads (CSV, TXT, PDF, ZIP), audio, and history require an account.

A note of transparency: the grammar catalog is marked as unverified and the application indicates this on screen and in the PDFs while it remains so. Review the content before considering it valid, just as you would with any study material.

If you want to try it, the tool's page is flashcard generator for Anki by level and topic.

Frequently asked questions

Is it dangerous to download decks from AnkiWeb?

Importing a third-party deck means running foreign material on your device, and in 2026, vulnerabilities that allowed exactly that have been patched. With Anki 26.09.4 or later, the two known pathways from November 4, 2026, are closed; in earlier versions, they are not. The risk is never zero, because the .apkg format supports templates and media by design: what you can control is the source of the deck and keeping the program up to date.

What version of Anki is safe right now?

26.09.4, released on November 4, 2026. Any version equal to or earlier than 26.09.3 is vulnerable to code execution via iframes, and on macOS, the "Show in Folder" bug has affected it since 24.10. There is a beta 26.11b1 from November 12, 2026, but a beta is not the recommended option for daily study.

Am I affected by the "Show in Folder" bug if I use Windows or Linux?

No, that specific one is exclusive to macOS: the problem lies in how the AppleScript command was constructed with the image name. The other bug from the same release, the one with iframes, does affect all platforms, so the recommendation to update is the same for Windows, macOS, and Linux.

I imported a suspicious deck before updating. What should I do?

Updating closes the door but does not undo what has already happened. Review the types of notes imported and their HTML, delete the deck if you cannot justify its origin, restore a backup prior to the import if you have one, and consider changing saved passwords in your browser. If it was something more than a deck —an add-on—, the scope is greater because an add-on is unrestricted Python code.

Can a CSV carry malware?

A CSV is plain text: it does not execute anything by itself. The only nuance is that the directive html:true makes Anki interpret the content as HTML, so it's advisable to open an external CSV in a text editor and read it before importing —something you cannot do at a glance with a .apkg. That is why CSV is the recommended format for exchanging study material.

Is it worth making my own cards if it takes longer?

In terms of learning, yes: in the six experiments by Pan and colleagues (2023), custom cards outperformed prefabricated ones in both recall (d = 0.45) and application (d = 0.29) at 48 hours. And in terms of security, it completely eliminates the vector. The time cost is greatly reduced if you generate the material in an assisted manner and export it as CSV instead of writing each card by hand.

How do I know if a shared deck contains scripts?

Open the note type of the imported deck and look at its templates (front, back, and style). If <script> or <iframe> tags appear, paths to /_addons, or references to files with strange names, delete it. Perform the inspection in a separate Anki profile, not in your main collection.

Conclusion: the security of study material begins with its origin

Anki 26.09.4 is good news —the project responds quickly and publishes detailed notices— but the underlying lesson has been the same since 2024: the deck you download is software, and the material you create is not. Keeping the program up to date is mandatory; choosing content from a known source and in inert format is what takes the problem off your hands.

If you study languages and want your own material without paying the cost of writing it card by card, aiDuolingo, from AiToolsForApps, generates decks by CEFR level and by topic, grammar cards with solutions, and graded readings with a glossary, and exports them in clean CSV ready for Anki, as well as TXT, PDF, and ZIP: create your Anki deck by level and topic.

Stop importing decks from unknown sources: create your own by CEFR level and topic, review it card by card, and download it in a clean CSV ready for Anki. Try it for free and without registration at aiDuolingo.

Stop importing decks from unknown sources: create your own by CEFR level and topic, review it card by card, and download it in a clean CSV ready for Anki. Try it for free and without registration at aiDuolingo.

↑ Back to top