开放权重AI模型可以利用补丁差距
Open-weight AI models can exploit the patch gap

原始链接: https://epoch.ai/publications/open-weight-models-patch-gap

GLM 5.3 是一个开放权重模型,能够通过分析发布前的公开安全修复来利用 Firefox 的补丁间隔。在测试中,它自主构建了网页;用户访问后,这些网页可在无需用户交互的情况下读取本地文件并发送给攻击者。从 9 月 17 日到 10 月 26 日的全部六个 Firefox 版本都可能被攻破,设置完成后每版本边际成本约 1000 美元。这些攻击结合了补丁间隔漏洞与一个未公开缺陷(已在 Firefox 159.0 中修复)。没有触发模型安全防护。对 Chrome 的类似尝试未成功。研究结果表明,高级网络攻击能力正在扩散到广泛可用的开放权重模型,使补丁间隔利用更便宜、更易获取。作者警告,其他软件,尤其是更新不频繁的系统,可能面临类似风险,并建议缩短修复在发布前公开的时间。

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 工作 | 提交 登录 开放权重 AI 模型可利用补丁空窗期 (epoch.ai) 3 分,由 merksittich 发布于 29 分钟前 隐藏 | 过去 | 收藏 | 1 条评论 help armcat 1 分钟前 [–] 文章并未确定 AI 最终是更有利于攻击者还是防御者。开放权重模型让防御者也能获得相同能力。至少社区拥有了原本没有的某种对称性。 回复 考虑申请 YC Winter 2027 批次!申请开放至 11 月 2 日。 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Overview

GLM 5.3, a widely available open-weight model released by Z.ai in August, can identify and exploit vulnerabilities in recent versions of the Mozilla Firefox browser using security fixes that have 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 our experiments, GLM 5.3 used this gap to build a webpage that, when visited by a Firefox user, read a file from the visitor’s computer and sent it to the attacker with no further user interaction. In particular, we found that 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.

The patch gap is a known weakness in software release practices, and it exists widely across software, e.g., browsers, phone operating systems, and router firmware. Exploiting it previously 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.

Our central finding is that widely available open-weight models can now do much, or even all, of this work on their own. We deliberately designed our setup 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 of our compromises of recent Firefox releases, GLM 5.3 also found and used an unpublished vulnerability in conjunction with those found via the patch gap. We contacted the Mozilla team to disclose our findings and discuss ways to mitigate these attacks. Mozilla has since shipped a new version of Firefox (159.0, released on October 27, 2026) that patches the previously undisclosed vulnerability, which should make it more difficult for GLM 5.3 to compromise Firefox via patch-gap exploits.

Open-source projects are particularly vulnerable to this kind of attack as their code is publicly available, but we suspect any software project where a model can find the content of upcoming security changes before release is vulnerable, including closed-source projects.1 We anticipate this threat vector will worsen as open-weight cyber capabilities continue to improve.

Further findings from our experiments on Firefox:

  • GLM 5.3 exploited the patch gap despite existing countermeasures. To slow down would-be attackers, published security fixes are obfuscated as ordinary improvements and do not disclose details of underlying vulnerabilities. GLM 5.3 was able to read the code and determine which changes related to security patches.
  • The type of exploit we demonstrated can be extremely serious. We used GLM 5.3 to create a website that, simply when visited by a Firefox user and without further interaction, gave the attacker the ability to exfiltrate files from the user’s computer. Firefox has over 200 million active users, and this exploit could be used to read their passwords stored in the browser, steal authentication cookies, or view other private information on the user’s computer.
  • We did not trigger any safeguards or refusals from any provider, including Z.ai, when using GLM 5.3 in this way. We framed the task as a security exercise, but our actions were otherwise indistinguishable from those of a real attacker.
  • Similar attacks on Google Chrome have not succeeded as of the time of writing. We do not take this 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).

Background

In April 2026, Anthropic’s announcement of Claude Mythos Preview marked a leap in AI cybersecurity capabilities. Since then, it has been clear that frontier AI models are capable of detecting vulnerabilities and crafting complex exploits in real production software. Anthropic recently demonstrated this by giving examples of how an internal model was able to find and exploit critical vulnerabilities in widely used software.

Frontier AI labs have responded by giving some defenders early access to advanced capabilities (via projects like Glasswing and Daybreak) and heavily restricting broader access. This strategy is meant to allow defenders to identify and patch vulnerabilities before attackers can exploit them. However, a gap often exists between a vulnerability fix becoming public and it being deployed to all the users of the relevant software. This patch gap exists in two places: fixes becoming public before they are released to users, and users continuing to run old software after an update. In our research, we focus on the gap between fixes becoming public and their general release.

Beta versions of software, which developers use to test code and find newly introduced bugs, are one mechanism by which vulnerability fixes become public before they are generally released. Betas typically have a smaller user base than public releases, made up of users willing to test newer and potentially unstable features. For open-source projects, information is even more broadly available, as the entire codebase is public and upcoming changes are typically viewable in beta or “nightly” code branches.

The patch gap is a known security issue, but the time and expertise historically required to exploit it have limited how many actors can do so (and the naturally limited lifetime of exploits developed in this way means attackers may choose to spend their attention elsewhere). Advancing AI cyber capabilities have changed this calculus.

Although unrestricted access (without cyber guardrails) to the most capable frontier models is tightly controlled, open-weight models are broadly available to anyone without restriction.2 This open access can benefit cyber defenders by enabling preemptive vulnerability detection and incident response, especially for defenders without access to restricted frontier models. While we focus here on an offensive capability, we do not make claims on how open-weight models will impact the balance between offense and defense.

Open-weight models have historically been unable to reliably exploit the patch gap, but their capabilities are steadily improving. To see whether that limitation still holds, we tested whether GLM 5.3, a widely available open-weight model released in August 2026, could use the patch gap to compromise the most recent releases of Firefox, a web browser with over 200 million active users.

Methodology

We tasked GLM 5.3 with creating a webpage that, when visited by a Firefox user, reads a local file on their system.3 This can be used to read the user’s private documents, copy passwords stored in Firefox, and steal authentication cookies, allowing the attacker to log into some online services as the user. We chose this target because it reflects an attack severe enough to cause real damage to users.

We provided the model with the specific Firefox version on the user’s computer and some basic tools, then let it continue working until it developed a successful exploit. To avoid impacting third parties, we did not give the model internet access; instead, we directly provided the publicly available information we thought it would likely need. We provided only information available at the time of the target versions’ release, so the model could not use information about vulnerabilities discovered later.

We designed the environment to roughly approximate what an attacker with minimal technical experience and standard development tools could elicit from the model if they let it run online. We accessed GLM 5.3 through both its first-party API and third-party APIs, framing the task as a security exercise. Despite our actions being indistinguishable from those of someone attempting to target real users, at no point was our model use restricted, and we encountered no refusals.

Beyond basic instructions to target the patch gap (i.e., inspect bug fixes not yet incorporated into the stable release), we let the model run autonomously with no user input. The model identified upcoming security fixes, selected vulnerabilities, and built a complex exploit chain on its own.

Results

GLM 5.3 successfully developed attacks against all six Firefox releases between September 17 and October 26,4 using only information available at the time of each version’s release. Visiting the webpage built by the model caused the browser to read a local file and send its contents to the attacker’s server without further user action.5

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. We gave GLM 5.3 up to 48 hours to find an exploit, but its fastest attempt needed only 12 hours.

In addition to vulnerabilities discovered through the patch gap, our attacks on the most recent Firefox versions also relied on an unpublished vulnerability that the model rediscovered on each attempt. This allowed it to leverage limited control of the browser into the ability to read files from the computer.6 We shared this vulnerability with Mozilla, and it is now patched as of the October 27 Firefox 159.0 release. We have not yet confirmed whether similar attacks can succeed on 159.0 given this patch, but suspect it should make things at least substantially more difficult.

Our total research spend targeting Firefox exceeded $100,000 in API costs, including experimentation to build a realistic offline environment and our preliminary testing. However, once we developed our harness and pointed GLM 5.3 in the right direction, exploiting the browser became cheap and reliable. Our marginal cost of compromising a new version of Firefox was about $1,000 at API pricing, and would potentially have been lower if using subscription accounts.

An attacker unconcerned with the risks of letting an autonomous agent develop an exploit with internet access could replicate our setup much more cheaply and easily by giving the model unrestricted internet access instead of going through the effort of running it offline in a sandbox.

After we discovered GLM 5.3’s ability to compromise Firefox, we decided to assess whether a similar setup could compromise Google Chrome. We used the same harness and techniques and, as of the time of writing, have not been able to create an equivalent exploit, despite spending about $100,000 in API costs on attempts.

Kimi K3.1 Pro was released via first-party API access on October 23, with the weights planned to be released in early November. Kimi K3.1 Pro has not been part of our experiments, but limited benchmark data suggests it may outperform GLM 5.3 on offensive cyber tasks. We plan on testing more advanced open models on a wider variety of software in the future.

Implications for other software

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, we saw patch-gap exploits targeting Chrome. 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. These early patches could have contributed to thousands of exploit attempts before the public release (which then climbed to millions immediately afterward).

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 publicly available. We did not explicitly test the ability of GLM 5.3 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. We are especially concerned about 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.

Addressing this threat will likely require reducing the time that vulnerability fixes remain public before being incorporated into the general release. We created exploits within two days, but other attackers could be faster. Merely providing defenders access to stronger closed models does not solve the underlying structural issue; a public fix, regardless of how it is found, inherently flags where vulnerabilities are. Defenders have a few levers to pull to mitigate these attacks, such as keeping security fixes private until they are ready to ship or shipping them from beta to release more quickly. 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. Defenders should avoid patching multiple vulnerabilities simultaneously if they can be chained together.

Conclusion

GLM 5.3 compromised six of the most recent Firefox releases by exploiting the patch gap. We used a deliberately basic setup, and despite this, the model reliably built successful exploits without human input, at a marginal cost of roughly a thousand dollars per Firefox version compromised. These attacks relied on a key non-public vulnerability that has since been patched, and we were not able to achieve similar outcomes on Chrome (but we do not think this rules out similar attacks succeeding with better elicitation or stronger open-weight models).

We see these results as evidence of the diffusion of advanced cyber capabilities; many other pieces of software are likely already vulnerable to similar patch-gap attacks, and we expect the number to increase as more capable open-weight models are released.

联系我们 contact @ memedata.com