{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-23618","id":"CVE-2023-23618","title":"gitk can inadvertently call executables in the worktree","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 GU","descriptionLong":"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.\n","published":"2023-02-14T20:38:04.921Z","updated":"2026-10-28T02:30:37.652088002Z","reserved":"2023-01-16T17:07:46.243Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["git-for-windows git"],"affectedProducts":[{"vendor":"git-for-windows","product":"git","defaultStatus":null,"versions":[{"version":"< 2.39.2","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-426"],"aliases":["GHSA-wxwv-49qw-35pm"],"references":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c","tags":["x_refsource_MISC","x_transferred","Patch","fix"]},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://wiki.tcl-lang.org/page/exec","tags":["x_refsource_MISC","x_transferred","Not Applicable","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/23xxx/CVE-2023-23618.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23618","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00385,"epssPercentile":0.33167,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-23618","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23618","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-23618","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-23618","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}