VS Code Vulnerability Allows One-Click GitHub Token Theft
A researcher has disclosed the full details of the vulnerability and released a PoC without notifying Microsoft in advance. The post VS Code Vulnerability Allows One-Click GitHub Token Theft appeared first on SecurityWeek .
AI Analysis
Technical Summary
The vulnerability affects Microsoft’s VS Code, specifically the github.dev web-based editor, enabling an attacker to steal GitHub tokens through a crafted Jupyter notebook. The notebook contains hidden code that simulates keystrokes to install a malicious extension silently. This extension exfiltrates the victim’s GitHub access token, granting the attacker full repository access. The attack triggers upon the victim opening the malicious notebook link, with minimal user interaction required on github.dev. Microsoft patched the web-based version promptly after disclosure, but the desktop VS Code remains vulnerable and unpatched. The vulnerability also poses a risk of remote code execution on the desktop client. The disclosure was made without prior vendor notification, and no active exploitation has been confirmed.
Potential Impact
Successful exploitation results in theft of the victim’s GitHub access token, allowing the attacker full read and write access to all repositories the victim can access, including private repositories. This compromises the confidentiality and integrity of the victim’s code repositories. Additionally, the desktop VS Code vulnerability can lead to remote code execution on the victim’s device, increasing the severity of potential impact. No confirmed active exploitation in the wild has been reported at this time.
Mitigation Recommendations
Microsoft has released an official patch for the github.dev web-based VS Code editor as of June 3, 2026, which mitigates the vulnerability in that environment. Users of github.dev should ensure they are using the updated version. The desktop VS Code version remains unpatched; users should exercise caution when opening untrusted Jupyter notebooks or links and monitor official Microsoft advisories for updates. Since the vendor advisory is limited, patch status for the desktop client is not yet confirmed. Users should avoid interacting with suspicious notebooks and links until a fix is available.
VS Code Vulnerability Allows One-Click GitHub Token Theft
Description
A researcher has disclosed the full details of the vulnerability and released a PoC without notifying Microsoft in advance. The post VS Code Vulnerability Allows One-Click GitHub Token Theft appeared first on SecurityWeek .
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability affects Microsoft’s VS Code, specifically the github.dev web-based editor, enabling an attacker to steal GitHub tokens through a crafted Jupyter notebook. The notebook contains hidden code that simulates keystrokes to install a malicious extension silently. This extension exfiltrates the victim’s GitHub access token, granting the attacker full repository access. The attack triggers upon the victim opening the malicious notebook link, with minimal user interaction required on github.dev. Microsoft patched the web-based version promptly after disclosure, but the desktop VS Code remains vulnerable and unpatched. The vulnerability also poses a risk of remote code execution on the desktop client. The disclosure was made without prior vendor notification, and no active exploitation has been confirmed.
Potential Impact
Successful exploitation results in theft of the victim’s GitHub access token, allowing the attacker full read and write access to all repositories the victim can access, including private repositories. This compromises the confidentiality and integrity of the victim’s code repositories. Additionally, the desktop VS Code vulnerability can lead to remote code execution on the victim’s device, increasing the severity of potential impact. No confirmed active exploitation in the wild has been reported at this time.
Mitigation Recommendations
Microsoft has released an official patch for the github.dev web-based VS Code editor as of June 3, 2026, which mitigates the vulnerability in that environment. Users of github.dev should ensure they are using the updated version. The desktop VS Code version remains unpatched; users should exercise caution when opening untrusted Jupyter notebooks or links and monitor official Microsoft advisories for updates. Since the vendor advisory is limited, patch status for the desktop client is not yet confirmed. Users should avoid interacting with suspicious notebooks and links until a fix is available.
Technical Details
- Article Source
- {"url":"https://www.securityweek.com/vs-code-vulnerability-allows-one-click-github-token-theft/","fetched":true,"fetchedAt":"2026-06-04T08:18:39.105Z","wordCount":1183}
Threat ID: 6a2134dfe29bf47b507fba67
Added to database: 6/4/2026, 8:18:39 AM
Last enriched: 6/4/2026, 8:18:46 AM
Last updated: 6/5/2026, 5:06:11 AM
Views: 30
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.