Researcher Drops a New VS Code Zero-Day After Losing Trust in Microsoft’s Disclosure Process


Researcher Drops a New VS Code Zero-Day After Losing Trust in Microsoft’s Disclosure Process

Pierluigi Paganini
June 04, 2026

A researcher publicly released a VS Code exploit within hours, citing past disputes with Microsoft over bug handling.

The security researcher Ammar Askar found a new serious zero-day in Visual Studio Code, told a contact at GitHub about it, and published a working exploit one hour later.

“Just by clicking a link, it’s possible for an attacker to steal a GitHub token that can read and write to your repos, including private ones.” reads the report published by the researcher.

No 90-day window, no coordinated disclosure, no MSRC ticket. The researchers just dropped a PoC on the internet, because he’d been through the MSRC process before and decided once was enough.

The vulnerability resides in github.dev, the browser-based VS Code that spins up when you open a GitHub repo in the editor. When github.com hands an OAuth token to github.dev, that token isn’t scoped to the repo you opened. It’s valid for every public and private repo the user can access.

“On any repository you have access to, if you can change the url from github.com to github.dev or you click this little menu item:”

“You’ll be launched into a little light-weight version of VSCode that runs entirely in your browser (I guess that’s one advantage of having your app written with electron).”continues the report.

“This browser instance of VSCode is pretty powerful, you can view all the files in the repo (even if it’s a private one), you can send out pull requests and even make commits. This functionality is achieved by github.com POSTing over an OAuth token to github.dev that allows it to interact with GitHub on your behalf. The token is not scoped to the particular repo you interacted with, meaning it has full access to every other repo that you have access to.”

An attacker who can modify a repo’s .vscode/extensions.json file can recommend a malicious VS Code extension, and if the target opens the repo via a crafted github.dev link, the attack mostly runs itself.

The most interesting part of the attack is how it bypasses the installation confirmation. Normally, VS Code asks users to approve an extension before installing it. In this case, the attacker hid malicious HTML code inside a Jupyter Notebook. When the notebook is opened, the code runs in the background and automatically triggers the keyboard shortcut that approves the installation prompt. The malicious extension is then installed without the user noticing and can steal OAuth tokens, giving attackers access to the victim’s repositories with no further action required.

Askar was direct about why he skipped responsible disclosure.

“To summarize the last time I interacted with MSRC regarding reporting a VSCode bug, it was a horrible experience where they silently fixed the bug I pointed out without any credit. They also marked it as not having any security impact. As I mentioned in that post, going forward I would be doing full public disclosure for any security bugs I found in VSCode.” wrote Askar. “Taking a look at a recent report by Starlabs on a VSCode XSS bug marked as ineligible and low severity, it doesn’t look like MSRC has gotten any better about VSCode bugs.”

The expert also mentioned a recent Starlabs report on a VS Code XSS bug that MSRC marked as ineligible and low severity, and concluded the situation hadn’t improved.

He made it clear that he doesn’t blame the VS Code team itself. He said the developers probably needed more time to find a solution that balanced security with usability. His criticism was aimed at Microsoft’s security response process (MSRC), not at the engineers building and maintaining VS Code. In his view, publicly disclosing the issue was one of the few ways to push for stronger security improvements.

The comparison to Chaotic Eclipse writes itself. That researcher who has released six zero-days (MiniPlasma, BlueHammer, RedSun, and UnDefend, YellowKey and GreenPlasma) without any advance notice to Microsoft, three of which were confirmed exploited in the wild before patches existed. Their stated motivation involves a broken agreement and being left homeless, which is vague enough to be either dramatic or genuinely grim. Microsoft responded to the sixth release by invoking its Digital Crimes Unit, then quietly walked that back after the public reaction was uniformly negative. Threatening researchers with lawyers tends not to generate goodwill.

What’s actually happening here isn’t a coordination breakdown. It’s a trust bankruptcy. Researchers who find bugs spend real time and skill turning vulnerabilities into working proof-of-concepts. When the company receiving that work silently patches it, strips the credit, and marks it as low-severity, the incentive to keep feeding that process collapses.

“I’m sure the VSCode team would have appreciated a longer heads up on this to come up with solutions. There is legitimately a UI/UX balance here that needs to be struck with the security concerns. To those folks, I am sorry, but this is one of the few levers I have to try to influence MSRC and the security posture of VSCode.” concludes Askar. “Finding and fully developing security bugs into proof-of-concepts like this takes time and effort on the part of security researchers that should not be disrespected or taken for granted.”

Microsoft’s bug bounty program exists partly to avoid exactly this dynamic, but according to some bug bounty hunters, right now it doesn’t seem to be working.

Follow me on Twitter: @securityaffairs and Facebook and Mastodon

Pierluigi Paganini

(SecurityAffairs – hacking, Microsoft Zero-Day)







Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


Another week has passed, and Apex is still the top thriller on Netflix and the No. 1 movie in the streamer’s current top 10. Audiences are loving the cat-and-mouse battle between Charlize Theron’s rock climber and Taron Egerton’s serial killer. It will be interesting to see what movie inevitably knocks it down to second place.

If you’re searching for more thrillers, then you’ve come to the right place. Our top recommendation is the fifth entry into one of Hollywood’s iconic horror series. The other movies on this list include a little-seen survival thriller with an A-plus cast and a feature film adaptation of a post-apocalyptic novel. Stream all three of these movies on Netflix in the U.S.

3

Eden

Survival on the island

What the heck happened to Eden? The survival thriller premiered at the 2024 Toronto International Film Festival and entered limbo immediately after due to its lack of distribution. Nearly a year passed before Vertical finally released Eden in theaters on August 22, 2025. You would think that this movie had an easy sell—recognizable actors stuck on an island, with chaos ensuing. I’m still baffled as to why a major studio didn’t pick it up in the United States.

Eden is inspired by true events surrounding the residents of Floreana Island in the 1930s. Dr. Friedrich Ritter (Jude Law) leaves Germany and moves to Floreana Island with Dore Strauch (Vanessa Kirby). They are eventually joined by Margret Wittmer (Sydney Sweeny), Heinz Wittmer (Daniel Brühl), and Eloise Bosquet de Wagner Wehrhorn (Ana de Armas). Tensions rise as the competing families vie for control of the island, resulting in fatal decisions that lead to multiple tragedies. Eden certainly has some Lord of the Flies elements in its story.

Again, I’m shocked this movie was dumped in August instead of receiving a traditional rollout from a popular studio. Admittedly, Eden has its flaws and heavily leans into melodrama much to its detriment. Still, it’s an entertaining thriller supported by a stacked cast that is much better than it’s given credit for.​​​​​​​

2

Leave the World Behind

Technology becomes the villain

What would happen if the collapse of technology led to the end of the world? That’s part of the premise of Leave the World Behind, Sam Esmail’s 2023 psychological thriller for Netflix. The movie is based on Rumaan Alam’s novel of the same name. Right when an oil tanker crashes on the shore, something is not right in Leave the World Behind.

Amanda Sandford (Julia Roberts) is on vacation with her husband Clay (Ethan Hawke) and two children when inexplicable occurrences, like the oil tanker crash, begin happening. The root of the issue is a nationwide blackout that has caused widespread panic. Amanda and Clay are forced to grapple with their trust issues after the arrival of the vacation home’s owner, George H. “G.H.” Scott (Mahershala Ali), and his daughter, Ruth (Myha’la).

Some may view Leave the World Behind as a warning to humanity, which feels ill-equipped to handle a devastating cyberattack. Others might watch strictly for its entertainment purposes. I fell somewhere in the middle. There are some relevant messages about the apocalypse, social inequality, and societal standards. It’s also a great cast of talented performers who elevate the source material. I don’t think the film depicts what actually would happen in a disaster, but it’s certainly fun (and scary) to predict the future. ​​​​​​​

1

Scream

I would like to play another game

To clarify, I’m referring to 2022’s Scream, informally known as Scream V. It’s a nightmare scenario for anyone like myself, who has to write an article about the fifth Scream installment. For bookkeeping purposes, I’m calling it Scream V. Part of the reason for the similar title to the first movie is because Scream V restarted the franchise after an 11-year hiatus. It’s not a reboot or a remake, but a continuation of the series.

The film opens with a similar sequence to 1996’s Scream, where an unsuspecting high school student, Tara Carpenter (Jenna Ortega), is attacked by a new Ghostface killer in Woodsboro. Tara’s half-sister, Sam (Melissa Barrera), returns to town and learns that Tara’s friend group is now being targeted by Ghostface. If you’re dealing with Ghostface, there’s only one person to call for help: Sidney Prescott (Neve Campbell), who has survived the killer’s multiple attempts at her life.

​​​​​​​

I was surprisingly impressed with Radio Silence’s take on Scream. These reboots are typically cash grabs and a way for studios to exploit the IP of a popular entity. Scream V plays the hits—close calls, gory kills, and a propensity for dark humor. For me, it works as one of the franchise’s best entries. I thought Scream was done following Scream 4. Now, you’re probably going to get Scream VIII in a few years.


​​​​​​​More Netflix movies to watch

Two new Netflix movies, My Dearest Assassin and Remarkably Bright Creatures, arrive at week’s end just in time for the weekend. You can also stream classic Oscar-winning movies, including Roma and Glory. No matter what you choose, chances are you’ll be occupied for the foreseeable future with Netflix content.

Subscription with ads

Yes, $8/month

Simultaneous streams

Two or four




Source link