Information disclosure in GitHub CLI - CVE-2024-53858
Published: February 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to the application can leak authentication tokens when cloning repositories containing git submodules hosted outside of GitHub.com and ghe.com. A remote attacker can trick the victim into cloning a specially crafted repository and obtain victim's authentication tokens.
Affected software
Ubuntu
Fedora
gh (Ubuntu package)
gh
How to mitigate CVE-2024-53858
gh (Ubuntu package) - update to 2.45.0-1ubuntu0.3+esm2
gh - update to 2.63.2-1.fc42