Argument injection in GitHub CLI - #VU152997

 

Argument injection in GitHub CLI - #VU152997

Published: September 30, 2026


Vulnerability identifier: #VU152997
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-88
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to write attacker-controlled skill files to an arbitrary directory writable by the user.

The vulnerability exists due to improper neutralization of argument delimiters in the `gh skill search` child installer invocation when handling a flag-like repository-relative path from a search result. A remote attacker can provide a malicious search result whose path is interpreted as an installer option to write attacker-controlled skill files to an arbitrary directory writable by the user.

Exploitation requires the user to select the malicious search result and continue the interactive installation flow. Non-interactive and JSON search modes are not affected.


Affected software

GitHub CLI

Remediation

Install security update from vendor's website.

GitHub CLI - update to 2.102.0

External References

Related Security Bulletins