CVE-2025-23040 in Electron products
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 perfo...
Affects 0 products from 3 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-23040 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-043781-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| Published | 2025-01-15 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-522: CWE-522
Related attack patterns (CAPEC)
CAPEC-102 Session Sidejacking via CWE-522
CAPEC-474 Signature Spoofing by Key Theft via CWE-522
CAPEC-509 Kerberoasting via CWE-522
CAPEC-551 Modify Existing Service via CWE-522
CAPEC-561 Windows Admin Shares with Stolen Credentials via CWE-522
Show all 13
CAPEC-644 Use of Captured Hashes (Pass The Hash) via CWE-522
CAPEC-645 Use of Captured Tickets (Pass The Ticket) via CWE-522
CAPEC-50 Password Recovery Exploitation via CWE-522
CAPEC-555 Remote Services with Stolen Credentials via CWE-522
CAPEC-600 Credential Stuffing via CWE-522
CAPEC-652 Use of Known Kerberos Credentials via CWE-522
CAPEC-653 Use of Known Operating System Credentials via CWE-522
CAPEC-560 Use of Known Domain Credentials via CWE-522
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A medium severity vulnerability affects Electron systems (CVE-2025-23040). A proof-of-concept has been published. Review vendor advisories and apply patches during the next maintenance window.
Vulnerability details: 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 CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N.
Questions
What is CVE-2025-23040?
A medium severity vulnerability affects Electron systems (CVE-2025-23040). A proof-of-concept has been published. Review vendor advisories and apply patches during the next maintenance window.
What is the CVSS score for CVE-2025-23040?
CVE-2025-23040 has CVSS 6.6 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N. EPSS: 0.6%.
Is CVE-2025-23040 actively exploited?
No confirmed active exploitation of CVE-2025-23040 as of 2026-09-25.
How do I remediate CVE-2025-23040?
Priority: LOW. Advisory: https://docs.github.com/en/apps/using-github-apps/reviewing-and-revoking-authorization-of-github-apps
What systems are affected by CVE-2025-23040?
CVE-2025-23040 affects Electron; Github; Protocol.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Electron","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.