Researchers from pen-testing company Cycode have discovered a now-patched critical zero-click supply chain vulnerability in the open-source Windows Package Manager (WinGet), which is installed on more than 1.4 billion active devices running Windows 10, Windows 11 and Windows Server 2025. A single pull request could have tricked Microsoft's internal tooling into freely handing over a moderator's GitHub access token, with no phishing, no malware and no moderator clicking or approval required. There is currently no evidence that the flaw has been exploited in the wild.
WinGet is Microsoft's free, open-source command-line tool for discovering, installing, upgrading, configuring and removing apps. Its catalog is a public GitHub repository, and it is gatekept by a small, official group of Microsoft moderators who review a constant stream of community pull requests. By default, WinGet installations on every Windows machine trust the actions those moderators take.S1S2
The weakness sat in the moderators' own internal triage tool, a PowerShell helper that attached the moderator's secret GitHub Personal Access Token to any HTTP request without checking who owned the destination address. An attacker therefore only had to supply an address. Cycode's Moriel Harush, the company's security research lead, explained that if an attacker opened a pull request pointing an InstallerURL at their own server, "the trap was set". Microsoft's automated Azure DevOps validation pipeline would attempt to fetch the URL, the attacker's server would deliberately return an error, and a validation error label would be added to the pull request.S1S2
That label caused the moderator's internal script to run a CheckInstaller routine, which sent a HEAD request to the attacker through an authenticated HTTP helper that automatically attaches credentials. The attacker then only had to check their logs to extract the moderator's GitHub token. Harush warned that the token is not merely a repository-scoped credential but a full identity credential, meaning whatever the Microsoft employee could do on GitHub, the token could also do.S1S2
Harush said that "package registries have become the highest-profile target in the software supply chain", adding: "Compromise a single maintainer, and you reach everyone who trusts them. Compromise the gatekeepers, and you reach the entire ecosystem." The case, Cycode argues, is a cautionary tale for enterprises that the automation they trust is becoming an attacker entry point.S1S2