Shared from twixb · bleepingcomputer.com

VS Code zero-day lets hackers steal GitHub tokens in one click

bleepingcomputer.com·Jun 3, 2026

A newly disclosed zero-day vulnerability in Visual Studio Code allows attackers to steal GitHub authentication tokens by tricking users into clicking malicious links, enabling them to access private repositories. The exploit leverages VS Code's webview message-passing system and currently lacks an official patch, prompting users to take precautions by clearing cookies and local data for github.dev.

The most valuable insight for you as a cybersecurity professional is the disclosure of a zero-day vulnerability in Visual Studio Code that allows attackers to steal GitHub OAuth tokens with ease. Since the vulnerability is unpatched, VS Code users should proactively mitigate risk by clearing cookies and local site data for github.dev in their browser settings to trigger a warning prompt when malicious links are clicked. This immediate mitigation strategy is crucial while waiting for an official patch from Microsoft.

Powered by twixb

Want more content like this?

twixb tracks your favorite blogs and social media, filters by keywords, and delivers personalized key learnings — straight to your inbox.

More from Cybersecurity News

Recent stories curated alongside this one.