{"api_version":"1","generated_at":"2026-04-23T01:19:02+00:00","cve":"CVE-2023-23618","urls":{"html":"https://cve.report/CVE-2023-23618","api":"https://cve.report/api/cve/CVE-2023-23618.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-23618","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-23618"},"summary":{"title":"CVE-2023-23618","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-02-14 21:15:00","updated_at":"2023-11-07 04:07:00"},"problem_types":["CWE-426"],"metrics":[],"references":[{"url":"https://wiki.tcl-lang.org/page/exec","name":"https://wiki.tcl-lang.org/page/exec","refsource":"MISC","tags":[],"title":"exec","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c","name":"https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-wxwv-49qw-35pm · git-for-windows/git@49a8ec9 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","name":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","refsource":"MISC","tags":[],"title":"Release Git for Windows 2.39.2 · git-for-windows/git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm","name":"https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm","refsource":"MISC","tags":[],"title":"gitk can inadvertently call executables in the worktree · Advisory · git-for-windows/git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-23618","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23618","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"23618","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"git_for_windows_project","cpe5":"git_for_windows","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-23618","qid":"91992","title":"Microsoft Visual Studio Security Updates for March 2023"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-23618","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-426: Untrusted Search Path","cweId":"CWE-426"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"git-for-windows","product":{"product_data":[{"product_name":"git","version":{"version_data":[{"version_affected":"=","version_value":"< 2.39.2"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","refsource":"MISC","name":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1"},{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm","refsource":"MISC","name":"https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm"},{"url":"https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c","refsource":"MISC","name":"https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c"},{"url":"https://wiki.tcl-lang.org/page/exec","refsource":"MISC","name":"https://wiki.tcl-lang.org/page/exec"}]},"source":{"advisory":"GHSA-wxwv-49qw-35pm","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-02-14 21:15:00","lastModifiedDate":"2023-11-07 04:07:00","problem_types":["CWE-426"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git_for_windows_project:git_for_windows:*:*:*:*:*:*:*:*","versionEndExcluding":"2.39.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}