The patch gap exploit discovered

GLM 5.3 an open-weight model released by Z.ai in August 2026 demonstrated the ability to identify and exploit vulnerabilities in recent Mozilla Firefox browsers using security fixes that had been published but not yet shipped to users. The window between a fix being published and reaching users is known as the patch gap. In experiments GLM 5.3 built a webpage that when visited by a Firefox user read a file from the visitors computer and sent it to an attacker with no further user interaction. Any Firefox version released between September 17 and October 26 could be compromised in this way using only information available at the time of release.

How GLM 5.3 turned published fixes into live attacks

The patch gap is a known weakness in software release practices and exists widely across software categories browsers phone operating systems and router firmware. Previously exploiting it required significant time and expertise or special access to frontier models with advanced cyber capabilities so few attackers could target these vulnerabilities before they were fixed. The central finding of the Epoch AI research is that widely available open-weight models can now do much or even all of this work on their own. The setup was deliberately designed to emulate what a relatively unsophisticated actor with limited resources could achieve using only information available at the time of each version's release. Once set up it cost only about $1,000 to successfully attack each Firefox version.

In all compromises GLM 5.3 also found and used an unpublished vulnerability in conjunction with those found via the patch gap. Mozilla was contacted and shipped Firefox 159.0 on October 27 2026 that patches the previously undisclosed vulnerability making it more difficult for GLM 5.3 to compromise Firefox via patch-gap exploits. The type of exploit demonstrated can be extremely serious the model created a website that simply when visited by a Firefox user and without further interaction gave the attacker the ability to exfiltrate files from the users computer. Firefox has over 200 million active users and this exploit could be used to read passwords stored in the browser steal authentication cookies or view other private information on the users computer.

The cost and speed of model-driven exploits

Researchers gave GLM 5.3 up to 48 hours to find an exploit but its fastest attempt needed only 12 hours. The attacks took substantial effort for the model to develop. In one attempt GLM 5.3 used an upcoming Firefox fix to identify a memory safety flaw then developed a way to read and modify memory inside the browser but Firefox's security protections still prevented the model from reading the target file. The model's final attack composed the initial exploit with multiple additional stages to circumvent the remaining layers of security. The model diagnosed crashes abandoned unsuccessful approaches and iterated its approach until simply visiting the website was enough to access the file.

Importantly no safeguards or refusals were triggered from any provider including Z.ai when using GLM 5.3 in this way. The task was framed as a security exercise but actions were otherwise indistinguishable from those of a real attacker. Similar attacks on Google Chrome have not succeeded as of the time of writing though this is not taken as strong evidence that attacks could not succeed with more advanced elicitation or by using more capable open-weight models potentially including the recently announced Kimi K3.1 Pro.

Why Firefox and not Chrome?

After discovering GLM 5.3's ability to compromise Firefox the research team assessed whether a similar setup could compromise Google Chrome using the same harness and techniques. As of writing an equivalent exploit has not been created despite spending about $100,000 in API costs on attempts. The conditions needed for patch-gap attacks are common throughout the software industry whenever a security fix becomes visible before it reaches users an attacker has the opportunity to reverse engineer it into an exploit. In September 2026 patch-gap exploits targeting Chrome were observed. In the same month a vendor published patched builds of PHP more than six hours ahead of the coordinated release of patches for two critical vulnerabilities contributing to thousands of exploit attempts before public release which then climbed to millions immediately afterward.

Risks beyond the browser

While Firefox and Chromium are open source the patch gap also poses risks to closed-source software. Anthropic demonstrated that Mythos is capable of exploiting the patch gap on Windows without any of the project's code being publicly available. The research team did not explicitly test GLM 5.3's ability to exploit the patch gap on closed-source projects but as open-weight cyber capabilities continue to improve it will plausibly be possible soon if it is not already. Particular concernfocuses on software that users update less frequently like router firmware or phone operating systems because widespread compromise can have serious consequences and most users have a much longer window of vulnerability.

What defenders can do

Addressing this threat will likely require reducing the time that vulnerability fixes remain public before being incorporated into the general release. Firefox and Google Chrome have begun shipping updates every week. Regardless of approach it should be assumed that once a vulnerability fix is in published code attackers can and will use it to target the current release. Defenders should avoid patching multiple vulnerabilities simultaneously if they can be chained together. Both Firefox and Google Chrome have begun shipping updates every week. Regardless of the approach it should be assumed that once a vulnerability fix is in published code attackers can and will use it to target the current release.

  • Keep security fixes private until ready to ship
  • Ship fixes from beta to release more quickly