VS Code integrated browser upload leads to local file disclosure vulnerability
Start here
Microsoft VS Code security advisory (CVE-2026-102230): the integrated browser upload tool before 1.145.3 could upload local files without path approval, potentially exposing the contents of sensitive files to attacker-controlled websites; the attacker must first induce the Agent to upload via malicious page content, etc. 1.145.3 adds path-level approval to browser uploads, and the advisory recommends avoiding its exposure to untrusted content before updating.
Generated by AI from reports · Updated 18 days ago
Progress timeline
- microsoft/vscodeVS Code integrated browser file upload tool has an information disclosure vulnerability, fixed in 1.145.3
Microsoft VS Code released a security advisory (GHSA-f56j-7499-5hch, CVE-2026-102230): the integrated browser's file upload tool in versions before 1.145.3 could upload local files without path approval, potentially exposing sensitive file contents to attacker-controlled websites. An attacker must first influence an Agent using the integrated browser, for example through malicious page content, to induce it to upload local files; the upload tool did not apply the approval checks used by other tools when accessing files outside the workspace. Starting with 1.145.3, path-level approval is added for browser uploads, while existing explicit pre-approval is retained, and empty, relative and malformed upload paths are rejected before folder approval is offered or a file is selected. The advisory recommends avoiding exposing Agent-driven integrated browser tools to untrusted websites or content before installing the update.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@meow2149VS Code 1.145.3 is released, fixing a high-severity security issue in the built-in browser's file upload (CVE-2026-102230). Issue: In 1.145.2 and earlier versions, the built-in browser's file upload tool, when reading local files, did not enforce the [restrictions] that other tools apply when accessing files outside the workspace…(opens the original post in a new tab)
5 likes·Nov 12 10:15Collect