Information disclosure in GitHub CLI - CVE-2024-53858

 

Information disclosure in GitHub CLI - CVE-2024-53858

Published: February 4, 2026


Vulnerability identifier: #VU122318
CSH Severity: Medium
CVSS v4: 6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N]
CVE-ID: CVE-2024-53858
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

GitHub CLI
Ubuntu
Fedora
gh (Ubuntu package)
gh

How to mitigate CVE-2024-53858

Install updates from vendor's website.

GitHub CLI - update to 2.63.0
gh (Ubuntu package) - update to 2.45.0-1ubuntu0.3+esm2
gh - update to 2.63.2-1.fc42

External References

Related Security Bulletins