Patched WinGet flaw could leak moderator GitHub tokens
Original title: A single pull request could have handed attackers the keys to Microsoft’s software supply chain
Cycode says a malicious pull request could expose a moderator PAT, with no evidence of exploitation.
Cycode reported a now-patched flaw in Microsoft moderators' PowerShell triage helper for the Windows Package Manager. A pull request pointing an InstallerURL at an attacker server could cause automated validation to attach the moderator's GitHub personal access token to a request. Cycode says that token could then publish malicious manifests and reach other repositories the moderator could access. Microsoft limited token attachment to authorized GitHub hosts, and Cycode reports no evidence of exploitation.
Unconfirmed: Cycode reports no evidence of exploitation; the described package and repository impact was not observed.
- WinGet is present on more than 1.4 billion Windows 10, 11 and Server 2025 devices.
- The helper attached tokens to any HTTP request without checking the destination host.
- The C# tool in the same directory did not have the flaw.
- Cycode says abuse could have reached 14,000 exposed packages.
- Microsoft now attaches tokens only for authorized GitHub endpoints.
Impact: Theft of a moderator GitHub token and potential package tampering
| Product | Affected |
|---|---|
| Microsoft Windows Package Manager (WinGet) | — |
- 1.Confirm WinGet moderator tooling uses the patched host-scoped authentication.
- 2.Bind maintainer credentials to authorized destinations and limit classic PAT scope.
- Vendors
- Microsoft
- Products
- Windows Package ManagerWinGet
- Organizations
- Cycode
From the original article
5 min read at csoonline.com
The most dangerous actor in a software supply chain may now be an automated script with powerful credentials and no idea where it’s sending them. 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 sits on billions of devices worldwide.
csoonline.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.