CVE-2025-23040
Last modified
CVE-2025-23040 is a medium-severity vulnerability rated 6.6/10 on the CVSS scale. GitHub Desktop is an open-source Electron-based GitHub app designed for git development. An attacker convincing a user to clone a repository directly or through a submodule can allow the attacker access to the user's credentials through the use of maliciously crafted remote URL. EPSS estimates a 0.75% chance of exploitation in the next 30 days.
Description
GitHub Desktop is an open-source Electron-based GitHub app designed for git development. An attacker convincing a user to clone a repository directly or through a submodule can allow the attacker access to the user's credentials through the use of maliciously crafted remote URL. GitHub Desktop relies on Git to perform all network related operations (such as cloning, fetching, and pushing). When a user attempts to clone a repository GitHub Desktop will invoke `git clone` and when Git encounters a remote which requires authentication it will request the credentials for that remote host from GitHub Desktop using the git-credential protocol. Using a maliciously crafted URL it's possible to cause the credential request coming from Git to be misinterpreted by Github Desktop such that it will send credentials for a different host than the host that Git is currently communicating with thereby allowing for secret exfiltration. GitHub username and OAuth token, or credentials for other Git remote hosts stored in GitHub Desktop could be improperly transmitted to an unrelated host. Users should update to GitHub Desktop 3.4.12 or greater which fixes this vulnerability. Users who suspect they may be affected should revoke any relevant credentials.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-23040?
How severe is CVE-2025-23040?
How do I fix CVE-2025-23040?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-23035WeGIA is an open source web manager with a focus on the Port…5.4
- CVE-2025-23036WeGIA is an open source web manager with a focus on the Port…5.4
- CVE-2025-23037WeGIA is an open source web manager with a focus on the Port…5.4
- CVE-2025-23038WeGIA is an open source web manager with a focus on the Port…5.4
- CVE-2025-23039Caido is a web security auditing toolkit. A Cross-Site Scrip…5.2
- CVE-2025-2304A Privilege Escalation through a Mass Assignment exists in C…9.4
- CVE-2025-23041Umbraco.Forms is a web form framework written for the nuget …5.3
- CVE-2025-23042Gradio is an open-source Python package that allows quick bu…7.5
- CVE-2025-23044PwnDoc is a penetration test report generator. There is no C…8.1
- CVE-2025-23045Computer Vision Annotation Tool (CVAT) is an interactive vid…9.8
- CVE-2025-23046GLPI is a free asset and IT management software package. Sta…7.5
- CVE-2025-23047Cilium is a networking, observability, and security solution…6.5
Are you affected by CVE-2025-23040?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
