VS Code vulnerability in github.dev allows attackers to steal GitHub OAuth tokens via malicious links
By
Markus Kasanmascheff
The kind of bagel that ruins lesser bagels for you.
Summary
Security researcher Ammar Askar released exploit code for a Visual Studio Code vulnerability that can steal GitHub OAuth tokens when a victim clicks a single github.dev repository link. The attack chain exploits the OAuth token granted to GitHub's browser-based editor, which can then access not just the opened repository but potentially all repositories the user has access to. The exploit exposes private repositories and poses significant risk to developers and organizations while they await a patch from Microsoft/GitHub.
Key quotes
· 3 pulledSecurity researcher Ammar Askar released exploit code on June 2 for a Visual Studio Code flaw that can steal GitHub tokens after a victim clicks one github.dev repository link.
GitHub's browser editor receives an OAuth token that lets the session act for the signed-in user, and the disclosed chain can reach repositories beyond the one that opened the editor.
One stolen token can reach every repository the user
You might also wanna read
GitHub Token Theft Vulnerability Discovered in VSCode's Browser-Based github.dev Feature
A security vulnerability in GitHub's github.dev feature (browser-based VSCode) allows attackers to steal GitHub tokens with read/write acces
GitHub confirms breach of 3,800 repos via malicious VSCode extension
Security Researcher Discovers Vulnerabilities in VSCode Extensions and Core Software
A security researcher details their discovery and disclosure of three vulnerabilities in VSCode extensions and one in VSCode itself (CVE-202
Glassworm Threat Actor Returns with Unicode-Based Supply Chain Attacks on GitHub, npm, and VS Code
The Glassworm threat actor has returned with a new wave of supply chain attacks using invisible Unicode characters to compromise software re
aikido.dev·2mo ago
GitHub patches critical remote code execution vulnerability in under six hours after AI-assisted discovery
GitHub patched a critical remote code execution vulnerability in under six hours last month. The flaw, discovered by Wiz Research using AI m
Critical RCE vulnerability CVE-2026-3854 discovered in GitHub's internal git infrastructure
Wiz Research discovered a critical vulnerability (CVE-2026-3854) in GitHub's internal git infrastructure affecting both GitHub.com and GitHu
