CVE-2018-19486
git: Improper handling of PATH allows for commands to be executed from the current directory
Severity
ImportantRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · October 24, 2018
Updated · June 28, 2026
Description
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 7.5CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-426 · Untrusted Search Path