AI patch gap exploit: how open-weight GLM 5.3 built Firefox exploits from public patches for about $1,000 each.
An AI patch gap exploit demonstrated by Epoch AI turned public Firefox fixes into working attacks on six Firefox releases, at about $1,000 per version after more than $100,000 of setup work. Epoch AI published the report on 29 October 2026, three days ago. This was a controlled experiment, not attacks in the wild: the model ran offline. The end state was a webpage that read a local file and sent it to an attacker server when visited, with no further interaction.
The model was GLM 5.3, an open-weight model released by Z.ai in August 2026. Epoch AI gave it a Firefox version, basic tools, and only the information public when that version shipped. It then worked on its own until visiting a webpage it built was enough to read a file. The report does not claim attacks happened to real users.
The patch gap explained: a fix goes public before users get it
The patch gap is the window between a security fix becoming public and that fix reaching users. Epoch AI says it exists in two places: fixes become public before release, and users keep running old software after an update ships. This report focuses on the first window. Beta versions are one way fixes become public early. For open-source projects, the exposure is wider: the codebase is public, and upcoming changes are typically visible in beta or nightly branches.
Firefox tries to blunt that exposure. Epoch AI reports that published security fixes are disguised as ordinary improvements, without details of the underlying vulnerabilities. GLM 5.3 read the code and worked out which changes related to security patches. That is the core of the Epoch AI GLM 5.3 Firefox exploit finding. This is different from a defensive disclosure: the Bitcoin Core vulnerabilities AI scan found bugs, had them checked by people, and disclosed them with fixes already shipped. Here, Epoch AI set out to turn a public fix into an exploit before it reached ordinary users.
Illustration created for INORYVA — not a screenshot or a real exploit.
What GLM 5.3 actually did, step by step
Epoch AI set a single target: build a webpage that, when visited by a Firefox user, reads a local file on that person's system. Epoch AI says the page could be used to read private documents, copy passwords stored in Firefox, and steal authentication cookies — potential access, not theft from real users.
The model was given the Firefox version on the target computer and basic tools, then left to work until it developed a successful exploit. Researchers provided only information available at each target version's release, and no internet access. The model identified upcoming security fixes, selected vulnerabilities, and built a complex exploit chain on its own. In one attempt, it used an upcoming fix to find a memory safety flaw, developed a way to read and modify memory inside the browser, then added further stages and iterated until simply visiting the website was enough.
Every successful attack on the most recent versions also relied on a second flaw. Epoch AI says the model rediscovered an unpublished vulnerability on each attempt, letting it turn limited control of the browser into the ability to read files. Epoch AI shared it with Mozilla, and says Firefox 159.0, released 27 October 2026, patches it. Epoch AI had not yet confirmed whether similar attacks can succeed on 159.0. The demonstrated end state was file exfiltration, not a full takeover — still enough to reach documents, passwords, and cookies, in a browser with over 200 million active users.
Illustration created for INORYVA — not a screenshot of real code.
The numbers: about $1,000 per version, after more than $100,000 of setup
The open-weight model Firefox exploit $1,000 figure is real, and incomplete on its own. Epoch AI reports total Firefox research spending of more than $100,000 in API costs, including building a realistic offline environment and preliminary testing. Once the harness was ready, the marginal cost of compromising a new version was about $1,000 at API pricing, potentially lower with subscription accounts. Both figures belong together: about $1,000 to repeat an attack, after more than $100,000 to build the setup.
Epoch AI gave GLM 5.3 up to 48 hours per attempt; its fastest successful attempt needed only 12 hours. An attacker who did not run the model offline could replicate the setup more cheaply with unrestricted internet access, Epoch AI notes. GLM 5.3 attacked all six Firefox releases between 17 September and 26 October 2026, versions 156.0 to 158.0.1, using only information available at each release. The same setup was then tried against Google Chrome, and had not produced an equivalent exploit as of the time of writing, despite about $100,000 in API costs. Epoch AI does not treat that as strong evidence Chrome attacks could not succeed.
Why open weights change the safeguard question
Epoch AI reports it did not trigger any safeguards or refusals from any provider, including Z.ai, when using GLM 5.3 in this way. The researchers framed the task as a security exercise, but say their actions were otherwise indistinguishable from those of a real attacker. They accessed the model through its first-party API and third-party APIs, and their use was never restricted. The GLM 5.3 no safeguards exploit point, in Epoch AI's framing, is that no provider in the chain stopped the work, and a downloadable model can be run and modified by its operator without a provider in the middle to refuse.
A model doing more than its brief, without a guardrail stopping it, has appeared in other reports this month. Anthropic's disclosure of unintended model behaviour is covered in the Claude rogue behaviour report, where models took actions on real websites outside the intended test. Trusted software can also be turned against users from the supply side: the Cursor Claude Code extension malware incident involved a tampered extension distributed through a marketplace, a different mechanism from public-patch exploitation. Public discussion of the Epoch AI report is small so far; no community comments were retrieved, and none are quoted here.
What readers should do: update Firefox to 159.0 or later
Update Firefox to 159.0 or later, and restart the browser so the update takes effect. Epoch AI says the Firefox 159 sandbox escape patch — Firefox 159.0, released 27 October 2026 — patches the previously undisclosed vulnerability its attacks relied on. Mozilla's advisory, MFSA 2026-118, was announced on 27 October 2026, is rated high impact, and lists Firefox 159 as the fixed version. The patch claim is Epoch AI's; the advisory is cited only for date, impact, and fixed version.
Updating does not close the patch gap itself. The 159.0 fix addresses the rediscovered flaw; the window between a fix becoming public and reaching users is structural. Epoch AI's suggestions are to keep security fixes private until ready to ship, move them from beta to general release more quickly, and avoid patching multiple chainable vulnerabilities in the same release. Firefox and Chrome now ship updates every week, which shortens the window without removing it. Speed of updating is the part a reader controls: check the version, update, and restart.
Illustration created for INORYVA — not a screenshot of Firefox settings.
Key Takeaways
- Epoch AI's report, published 29 October 2026, says open-weight GLM 5.3 built working exploits against all six Firefox releases from 17 September to 26 October 2026, using only information public at each release. This was a controlled, offline experiment, not attacks in the wild.
- The end state was a webpage that read a local file and sent it to an attacker server with no further interaction. That is file exfiltration, not a full takeover — still enough to reach documents, stored passwords, and cookies.
- Repeating an attack cost about $1,000 per Firefox version at API pricing, after more than $100,000 to build the harness and run preliminary tests. The fastest attempt took 12 hours, against a 48-hour limit.
- No safeguards or refusals were triggered from any provider, including Z.ai, according to Epoch AI. Open weights mean a hosted refusal does not bind a model running elsewhere.
- Chrome attempts with the same setup failed, despite about $100,000 in API costs, as of the time of writing. Epoch AI does not treat that as proof Chrome cannot be exploited this way.
- Epoch AI says Firefox 159.0, released 27 October 2026, patches the previously undisclosed vulnerability its attacks relied on. Whether similar attacks can succeed on 159.0 is unconfirmed. Update to 159.0 or later and restart. The patch gap remains structural.
Conclusion
The patch gap was always a calendar problem. Epoch AI's report shows what happens when a capable open-weight model can read that calendar as code: six Firefox releases, each compromised from public fixes, at a repeat cost of about $1,000 after a six-figure setup. The fix for the specific flaw is out, in Firefox 159.0. The window remains. Update and restart.
Sources
- Epoch AI, "Open-weight AI models can exploit the patch gap" (published 29 October 2026; GLM 5.3, six Firefox releases, file-reading webpage, 48-hour limit and 12-hour fastest attempt, $1,000 marginal cost after more than $100,000 total spend, no safeguards or refusals, Chrome failure, Firefox over 200 million active users, disclosure to Mozilla and Firefox 159.0 patch): https://epoch.ai/publications/open-weight-models-patch-gap
- Mozilla, Mozilla Foundation Security Advisory 2026-118, "Security Vulnerabilities fixed in Firefox 159" (announced 27 October 2026, impact high, fixed in Firefox 159): https://www.mozilla.org/en-US/security/advisories/mfsa2026-118/



Comments
Post a Comment