Origin validation error in GitHub CLI - #VU170601
Published: November 26, 2026
Vulnerability details
The vulnerability allows a remote attacker to replace an installed agent skill’s instructions and bundled scripts with content from an unrelated repository.
The vulnerability exists due to improper origin validation in `gh skill update` when resolving the saved owner and repository name without verifying that they still identify the original repository. A remote attacker can supply content from an unrelated repository at the reused name to replace the trusted skill when the user updates it.