PT-2025-4786 · Github · Github Desktop

Niik

·

Published

2025-01-15

·

Updated

2025-01-29

·

CVE-2025-23040

CVSS v3.1

6.6

Medium

VectorAV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions GitHub Desktop versions prior to 3.4.12
Description An attacker can access a user's credentials by convincing them to clone a repository directly or through a submodule using a maliciously crafted remote URL. GitHub Desktop relies on Git for network operations and uses the git-credential protocol to request credentials for remote hosts. A malicious URL can cause GitHub Desktop to misinterpret the credential request, sending credentials for a different host, allowing for secret exfiltration. This could improperly transmit GitHub username and OAuth token, or credentials for other Git remote hosts stored in GitHub Desktop to an unrelated host.
Recommendations Update to GitHub Desktop 3.4.12 or greater to fix the vulnerability. As a precaution, users who suspect they may be affected should revoke any relevant credentials.

Exploit

Fix

Insufficiently Protected Credentials

Weakness Enumeration

Related Identifiers

CVE-2025-23040
GHSA-36MM-RH9Q-CPQQ

Affected Products

Github Desktop