AI can turn security patches into attacks before you update
A freely available AI model built working attacks against six recent versions of the Firefox web browser by studying security fixes that had been published but not yet shipped to users, Epoch AI reported on Oct. 29, 2026. The researchers say each attack cost about $1,000 in AI usage once their setup was ready.
What did Epoch AI find, in one sentence?
An open-weight model, GLM 5.3 from the company Z.ai, can exploit the "patch gap," the window between a security fix appearing in public code and that fix reaching people's devices, without human help, according to Epoch AI's report. An open-weight model is one whose files anyone can download and run.
How did they measure it?
The six Epoch AI researchers gave GLM 5.3 a Firefox version, basic tools and an instruction to target bug fixes that were not yet in the stable release. The model then worked on its own for up to 48 hours per attempt, with no internet access and only the information available when each version came out.
The goal was a web page that, when visited, reads a file on the visitor's computer and sends it to the attacker. The tests ran on Ubuntu 26.04 with default security settings and Firefox downloaded from its official release.
What did they find?
Epoch AI's patch-gap test on Firefox with GLM 5.3, October 2026
GLM 5.3 built working attacks against all six Firefox releases tested: 156.0, 156.0.1, 157.0, 157.0.1, 158.0 and 158.0.1. Each attack chained two flaws: one fixed in public code but not yet released, and a second, unpublished flaw that let the attack escape Firefox's sandbox. The model found that second flaw again on every attempt.
"Once set up, it cost only about $1,000 to successfully attack each Firefox version," the report says. The fastest attempt took about 12 hours. The researchers add: "We did not trigger any safeguards or refusals from any provider, including Z.ai."
Firefox has "over 200 million active users," according to the report, and the authors say a successful attack could expose stored passwords, login cookies and other private files.
What the report doesn't say
The same approach did not work on Google Chrome. The researchers spent about $100,000 trying and had not produced an equivalent attack at the time of writing, though they say that is not "strong evidence" it can't be done.
The report does not measure how long the patch gap usually lasts, does not test closed models such as Claude or GPT, and does not claim open models will tip the balance between attackers and defenders. Firefox 159.0, released Oct. 27, 2026, fixed the unpublished flaw, and the authors had not yet confirmed whether similar attacks work against it.
Context: why updating matters more now
The researchers say Firefox 159.0 "should make it more difficult" for GLM 5.3 to use these attacks. They warn that software updated less often, such as router firmware and phone operating systems, has "a much longer window of vulnerability."
For software makers, the report recommends keeping security fixes private until they ship, shipping updates faster and assuming that once a fix is in published code, "attackers can and will use it to target the current release."
FAQ
What is the patch gap?
The patch gap is the time between a security fix appearing in public code and that fix reaching users' devices in an update.
Which AI model did Epoch AI use to attack Firefox?
GLM 5.3, an open-weight model released by Z.ai in August 2026, according to Epoch AI's Oct. 29, 2026, report.
Is my Firefox safe?
Epoch AI says Firefox 159.0, released Oct. 27, 2026, fixed the unpublished flaw the attacks used and should make them harder. Keep Firefox updated.
Did the same attack work on Chrome?
No. Epoch AI spent about $100,000 trying and had not produced an equivalent Chrome attack at the time of writing.
Sources
Cite this
AI can turn security patches into attacks before you update, New Mind Museum, November 6, 2026. https://newmindmuseum.com/safety/2026/11/ai-security-patch-gap-firefox-exploits-epoch/
New Mind Museum. (2026, November 6). AI can turn security patches into attacks before you update. https://newmindmuseum.com/safety/2026/11/ai-security-patch-gap-firefox-exploits-epoch/
“AI can turn security patches into attacks before you update.” New Mind Museum, 6 Nov. 2026, https://newmindmuseum.com/safety/2026/11/ai-security-patch-gap-firefox-exploits-epoch/.
@misc{new-mind-museum-2026-ai-can-turn-security-patches-into-attack,
author = {{New Mind Museum}},
title = {AI can turn security patches into attacks before you update},
year = {2026},
url = {https://newmindmuseum.com/safety/2026/11/ai-security-patch-gap-firefox-exploits-epoch/}
}Free to quote and cite with a link to this page.