CVE-2023-23618
published high CVSS 3.1 · 8.6gitk can inadvertently call executables in the worktree
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| git-for-windows | — | git< 2.39.2 | Affected | Not stated | GitHub_M |
Description
Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, when `gitk` is run on Windows, it potentially runs executables from the current directory inadvertently, which can be exploited with some social engineering to trick users into running untrusted code. A patch is available in version 2.39.2. As a workaround, avoid using `gitk` (or Git GUI's "Visualize History" functionality) in clones of untrusted repositories.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| git-for-windows | git | < 2.39.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-426 CWE-426: Untrusted Search Path
References
4Provider assertions
3GitHub_M · cna
gitk can inadvertently call executables in the worktree
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bff2021a59d72b46290bcde725ee59c84373be2726ff6707b5eb91ae2276ec00
- Ingested
- 23 Sep 2026, 08:06:24 UTC
- Source record
- Official CVE record