{"id":"CVE-2018-19486","published":"2018-11-23T08:00:00Z","modified":"2024-08-05T11:37:11Z","title":"Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '.' were at the end of…","vendor":null,"product":null,"tier":"tail","description":{"text":"Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '.' were at the end of $PATH) in certain cases involving the run_command() API and run-command.c, because there was a dangerous change from execvp to execv during 2017.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04154,"percentile":0.91105,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/pub/scm/git/git.git/commit/?id=321fd82389742398d2924640ce3a61791fd27d60","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/106020","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://git.kernel.org/pub/scm/git/git.git/tree/Documentation/RelNotes/2.19.2.txt","tags":["x_refsource_MISC"]},{"url":"http://www.securitytracker.com/id/1042166","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3800","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3829-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://security.gentoo.org/glsa/201904-13","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":18.22}]},"summary":{"text":"The flaw lives in Git before 2.19.2 on Linux and UNIX systems, specifically in the run_command() API in run-command.c, where a change from execvp to execv made Git execute commands from the current working directory as if \".\" were at the end of $PATH. An attacker able to place a malicious executable in a directory a user works in could get it run in certain cases involving run_command(), though the exact conditions are not detailed in the available record.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:23:31Z"},"euvd":{"id":"EUVD-2018-11175","exploited":false,"provenance":"source"}}