{"id":"CVE-2023-23618","aliases":["CVE-2023-23618"],"related":[],"kind":"vulnerability","state":"published","title":"gitk can inadvertently call executables in the worktree","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Git para Windows es el puerto de Windows del sistema de control de revisiones Git. Antes de Git para Windows versión 2.39.2, cuando `gitk` se ejecuta en Windows, potencialmente ejecuta archivos ejecutables del directorio actual sin darse cuenta, lo que puede explotarse con algo de ingeniería social para engañar a los usuarios para que ejecuten código que no es de confianza. Hay un parche disponible en la versión 2.39.2. Como workaround, evite usar `gitk` (o la funcionalidad \"Visualizar historial\" de Git GUI) en clones de repositorios que no sean de confianza.","source":"nvd"}],"published":"2023-02-14T20:38:04.921Z","modified":"2026-06-17T05:37:35.787Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-426"],"affected":[{"ranges":[{"version":"< 2.39.2","status":"affected"}],"vendor":"git-for-windows","product":"git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.39.2"}],"vendor":"git_for_windows_project","product":"git_for_windows","cpe":"cpe:2.3:a:git_for_windows_project:git_for_windows:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm","tags":["vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c","tags":["patch","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","tags":["release-notes","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://wiki.tcl-lang.org/page/exec","tags":["not-applicable","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-03-10T20:57:52.068Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-23618","url":"https://www.cve.org/CVERecord?id=CVE-2023-23618","licence":"CVE Terms of Use","modified":"2025-03-10T21:11:24.730Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-23618","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23618","licence":"Public domain","modified":"2026-06-17T05:37:35.787Z"}],"updatedAt":"2026-11-25T22:58:22.024Z","epss":{"score":0.00385,"percentile":0.34697,"date":"2026-12-01T12:00:22.000Z"}}