Cycode Finds Patched Zero-Click Token Leak in Microsoft WinGet Workflow
Cycode disclosed a now-patched vulnerability in a Microsoft WinGet moderation workflow that it says could have exposed a moderator’s GitHub personal access token to an attacker-controlled server. The research, published November 18, describes a zero-click path through an automated validation process rather than a malicious package installed by a user.
According to Cycode, an attacker could submit a pull request to the public winget-pkgs repository with an InstallerUrl pointing to a server under the attacker’s control. A validation error would cause a moderator’s background triage tool to send a request to that URL. The PowerShell helper attached the moderator’s bearer token to requests without checking the destination host, the researchers said.
Cycode said the token’s permissions could have allowed changes to the package repository and other repositories accessible to the moderator, creating a potential software supply chain risk. The company described this as a potential impact, not a confirmed compromise or malicious update.
Microsoft patched the workflow after coordinated disclosure, according to Cycode. The reported fix limits when the authorization header is attached to requests from the moderation tool. The case illustrates the risk of applying privileged credentials to URLs supplied through untrusted submissions.


