SecurityContext

CVE-2023-23618: Git for Windows - Untrusted Code Execution

  • Cve: CVE-2023-23618
  • Name: Git for Windows - Untrusted Code Execution
  • 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.
  • Impact: Attackers can trick users into executing malicious code via `gitk`, potentially leading to arbitrary code execution.
  • Remediation: Update to version 2.39.2 or later.
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Exploit requires social engineering to trick users into running malicious code.
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00385
  • Epss percentile: 0.33263
  • Assignee: [email protected]
  • Published at: 2023-02-14T21:15:13Z
  • Age in days: 1379
  • Modified at: 2026-06-17T05:37:35Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-23618
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, hackerone

Cwe

IdName
CWE-426Untrusted Search Path

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05cPatch
https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pmVendor Advisory
https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
git_for_windows_project:git_for_windows< 2.39.2nonvd/v1/products/git_for_windows_project/git_for_windows

Projects

RepositoryLink kindsIndexedUrl
git-for-windows/gitcommit, fix, releases, security_advisoryyes/v1/repositories/git-for-windows/git

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts