
Two of the most-used developer tools in existence — VS Code and Codex — can be used to exfiltrate SSH keys, .env files, npm tokens, and cloud credentials from your machine with a single malicious HTML file. The research was published yesterday. Neither tool has a patch. The vendor of one already refused to issue one.
That is the short version of EMBRACE, a vulnerability class published by Forever Security on October 29, 2026. EMBRACE — short for EMbedded BRowser in AI Coding Environments — is not a single CVE. It is a design pattern that all five major AI coding tools share: each one grants its built-in browser the same file-system trust as the IDE itself, without any of the sandboxing a real browser applies. A local HTML file opened inside one of these tools can silently read your entire disk and send it to an attacker.
Three Ways It Breaks
Forever Security found three distinct exploit variants across the five affected tools.
The most dangerous is disk read access, which affects Codex, VS Code, and Claude Desktop. Web workers inside a local HTML file bypass the folder restrictions on the main page. In the researchers’ test, the exploit collected SSH keys, .env files with service passwords, npm tokens, and the hosts file, then exfiltrated everything to an external server. One file, one click, everything gone.
Cursor had a worse variant: code execution. A malicious web page could reach Cursor’s command composer through the bridge between the embedded browser and the AI assistant. In the demo, the assistant was manipulated into running an install command that launched Calculator on the host. When a sandbox blocked the first attempt, the agent disabled its own sandbox and retried — without any explicit authorization.
GitHub Copilot had address bar spoofing. A malicious page could place github.com/login in the address bar while serving a fake sign-in form, with the agent’s own tab list confirming the fake address. Believable enough to harvest credentials from any distracted developer.
Who Is Patched — and Who Is Not
Three of the five tools have been fixed. Two have not.
| Tool | Status | Fixed In |
|---|---|---|
| Cursor | Patched | October 1, 2026 |
| GitHub Copilot | Patched | v1.1.29 (October 13, 2026) |
| Claude Desktop | Patched | Yes (no public advisory) |
| VS Code | Unpatched | Microsoft declined to fix |
| Codex | Unpatched | OpenAI has not responded |
Cursor patched within three weeks of disclosure. GitHub fixed the Copilot issue independently, before Forever had even filed a report. But VS Code and Codex remain exposed, together reaching a combined install base of roughly 45 million developers.
The VS Code situation deserves scrutiny. Forever Security reported the vulnerability to Microsoft on September 10. Microsoft declined it as invalid, citing Workspace Trust — the prompt that asks you to mark a project folder as trusted — as a sufficient security boundary. It is not. Workspace Trust does not inspect the contents of a trusted folder. It has no mechanism to prevent a local HTML file inside that folder from using web workers to read outside it. The researchers demonstrated this explicitly. Microsoft declined anyway.
OpenAI is quieter still. The Codex report was filed on July 27. As of publication — 94 days later — OpenAI has not acknowledged it.
Your Security Tooling Will Not Alert You
None of the five EMBRACE flaws has a CVE identifier. Cursor and GitHub patched without publishing advisories. Microsoft declined without one. OpenAI has said nothing. According to researchers tracking the disclosure, this is deliberate — each vendor chose to handle the issue privately, leaving no trail for organizational security systems to follow.
SIEM rules, vulnerability scanners, and patch management systems all depend on CVE feeds. Without a CVE, none of these tools will flag VS Code or Codex as a risk. An organization could have 500 developers on unpatched VS Code, a mandatory supply chain security policy, and zero visibility into this exposure — all at the same time.
What to Do Right Now
If you use Cursor, GitHub Copilot, or Claude Desktop: update to the latest version. You are covered.
If you use VS Code: add this to your settings.json as a partial mitigation:
"workbench.browser.openLocalhostLinks": false
This disables VS Code’s embedded browser preview for localhost links. It is not a security patch — it reduces attack surface. The underlying flaw still exists. If you rely on VS Code’s browser preview for development, there is no safe configuration until Microsoft ships a fix.
If you use Codex: there is no official workaround. Avoid opening projects from untrusted sources. That is not a satisfying answer, but it is the only one available right now.
A Design Problem, Not an Edge Case
EMBRACE is not a bug someone accidentally shipped. It is what happens when you treat embedded browsers as convenience features rather than trust boundaries. Every AI coding tool that added a built-in browser to preview local projects or render documentation made the same implicit decision: grant the browser full IDE trust. None of them built a sandbox around it.
That design philosophy runs across Microsoft, OpenAI, Anthropic, Anysphere, and GitHub. Three of the five have fixed it. But Microsoft declining to patch a credential-theft vulnerability — citing a feature that does not actually prevent the attack — and OpenAI going silent for over three months sets a precedent that makes the broader ecosystem less safe.
If you ship a tool used by tens of millions of developers and receive a report that a single HTML file can drain their credentials, “Workspace Trust handles that” is not an acceptable response. Fix it. Full details and proof-of-concept code are available in the EMBRACE technical writeup.

