Home / desktop / desktop / CVE-2025-23040
CVE-2025-23040: is it exploited, and which versions of desktop are affected and fixed?
CVE-2025-23040 is a credentials insufficiently protected vulnerability in desktop. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: desktop < 3.4.12 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2025-23040?
Maliciously crafted remote URLs could lead to credential leak in GitHub Desktop
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.
From the CVE record by GitHub_M, last updated January 15, 2025, 20:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| desktop | desktop | < 3.4.12 |
As the CVE record by GitHub_M states it, last updated January 15, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-23040?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.6 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-23040 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 15, 2025)
- EPSS
- 0.76% probability of exploitation activity in the next 30 days, percentile 56.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-522 Insufficiently Protected Credentials
Where are the vendor advisories and references?
- https://github.com/desktop/desktop/security/advisories/GHSA-36mm-rh9q-cpqq x_refsource_CONFIRM
- https://docs.github.com/en/apps/using-github-apps/reviewing-and-revoking-authorization-of-github-apps x_refsource_MISC
- https://git-scm.com/docs/git-credential x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 10, 2025
- Published
- January 15, 2025, 17:25 UTC
- CVE record updated
- January 15, 2025, 20:16 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:51 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect desktop?
- May 21, 2025CVE-2025-48064 desktop: information disclosure
Questions about CVE-2025-23040
Is CVE-2025-23040 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.76% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of desktop are affected by CVE-2025-23040?
desktop < 3.4.12, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-23040?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-23040?
Medium (6.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-23040?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.