Security Resilience

CVE-2025-23040

Exposed Creds

Published
15 January 2025
Modified
15 April 2026
CVSS Score v3.1 6.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS Score 0.0076 56th percentile
Risk Priority 53 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-23040 is a medium-severity Insufficiently Protected Credentials (CWE-522) vulnerability in Github Desktop (inferred from references). Its CVSS base score is 6.6 (Medium).

Operationally, ranked in the top 44% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-28 (Protection of Information at Rest) and SC-8 (Transmission Confidentiality and Integrity) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-13163Shared CWE-522
CVE-2026-28909Shared CWE-522
CVE-2026-86726Shared CWE-522
CVE-2026-23958Shared CWE-522
CVE-2023-24619Shared CWE-522
CVE-2024-47109Shared CWE-522
CVE-2026-85700Shared CWE-522
CVE-2026-6517Shared CWE-522
CVE-2026-20435Shared CWE-522
CVE-2023-1518Shared CWE-522

Affected Assets

Github
Desktop
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Protection of information at rest requires encryption or equivalent safeguards for stored credentials.

Transmission confidentiality and integrity enforcement stops credentials from being sent in plaintext or without protection.

Authenticator management requires secure generation, storage, and distribution of credentials, directly stopping insecure methods.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.24 mandates the proper use of cryptography to protect information, but CWE-522 describes credentials that are already insufficiently protected; the control does not leave the weakness in place and stop its exploitation, it either prevents the weakness or removes it, so it performs no blocking function.

blocks

A.8.5 item (j) directly blocks network sniffing of credentials during log-on and item (i) blocks cleartext display during entry, but CWE-522's larger surface — insecure storage in config files/registry/properties, weak hashing/compression of stored credentials, serialization leaks, and non-log-on protocol transmission (the OT/ICS examples) — sits outside the clause's log-on procedure scope, leaving a nameable remainder.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-522, a class-level weakness. Rules are authored against its narrower children: CWE-260, CWE-523.

References