CVE-2018-19486
Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '...
CVE-2018-19486 is a critical vulnerability (CVSS 9.8) in Git-scm Git, published November 23, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.12%, the 90th percentile. Fixed in git 2.13.7-r2.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2018-19486- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-426
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-19486- Updated
- 2026-11-02
EUVDEUVD-2018-11175 No score
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.
- Record
EUVD-2018-11175- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4rxq-j825-6wv8
9.8
Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '...
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.
- Record
GHSA-4rxq-j825-6wv8- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-426
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-19486
9.8
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.
- Record
ALPINE-CVE-2018-19486- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2018-19486- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2018-19486
9.8
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.
- Record
DEBIAN-CVE-2018-19486- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2018:3800
7.5
Red Hat Security Advisory: rh-git218-git security update
- Record
RHSA-2018:3800- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-19486
9.8
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.
- Record
UBUNTU-CVE-2018-19486- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0199 No score
Updated git packages fix security vulnerability
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 (CVE-2018-19486).
- Record
MGASA-2019-0199- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10786-1 No score
git-2.33.0-1.3 on GA media
These are all security issues fixed in the git-2.33.0-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10786-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:4190-1 No score
Security update for git
This update for git fixes the following issues:
Security issue fixed:
- CVE-2018-19486: Fixed git that executed 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 (bsc#1117257).
- Record
SUSE-SU-2018:4190-1- Updated
- 2026-11-02
OSVUSN-3829-1 No score
git vulnerabilities
It was discovered that Git incorrectly handled layers of tree objects. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2017-15298)
It was discovered that Git incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2018-19486)
- Record
USN-3829-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gitAlpine:v3.6 |
before 2.13.7-r2 | 2.13.7-r2 |
gitAlpine:v3.8 |
before 2.18.1-r1 | 2.18.1-r1 |
gitDebian:12 |
before 1:2.19.2-1 | 1:2.19.2-1 |
gitDebian:13 |
before 1:2.19.2-1 | 1:2.19.2-1 |
gitDebian:14 |
before 1:2.19.2-1 | 1:2.19.2-1 |
gitMageia:6 |
before 2.13.7-1.3.mga6 | 2.13.7-1.3.mga6 |
rh-git218-gitRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-allRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-coreRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-core-docRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
Show 19 moreShow less
| Package | Affected | Fixed |
|---|---|---|
rh-git218-git-cvsRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-daemonRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-debuginfoRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-emailRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-guiRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-instawebRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-p4Red Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-subtreeRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-git-svnRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-gitkRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-gitwebRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-perl-GitRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
rh-git218-perl-Git-SVNRed Hat:rhel_software_collections:3::el7 |
before 0:2.18.1-3.el7 | 0:2.18.1-3.el7 |
gitSUSE:Linux Enterprise Module for Basesystem 15 |
before 2.16.4-3.9.2 | 2.16.4-3.9.2 |
gitSUSE:Linux Enterprise Module for Development Tools 15 |
before 2.16.4-3.9.2 | 2.16.4-3.9.2 |
gitUbuntu:18.04:LTS |
before 1:2.17.1-1ubuntu0.4, plus listed versions 1:2.14.1-1ubuntu41:2.15.1-1ubuntu21:2.17.0-1ubuntu11:2.17.1-1ubuntu0.11:2.17.1-1ubuntu0.3 |
1:2.17.1-1ubuntu0.4 |
gitUbuntu:14.04:LTS |
before 1:1.9.1-1ubuntu0.10, plus listed versions 1:1.8.3.2-11:1.8.4.2-11:1.8.4.3-11:1.8.4.4-11:1.8.5-1 Show 16 moreShow less1:1.8.5.1-11:1.8.5.2-11:1.8.5.2-21:1.8.5.3-11:1.9~rc1-11:1.9.0-11:1.9.1-11:1.9.1-1ubuntu0.11:1.9.1-1ubuntu0.21:1.9.1-1ubuntu0.31:1.9.1-1ubuntu0.41:1.9.1-1ubuntu0.51:1.9.1-1ubuntu0.61:1.9.1-1ubuntu0.71:1.9.1-1ubuntu0.81:1.9.1-1ubuntu0.9 |
1:1.9.1-1ubuntu0.10 |
gitUbuntu:16.04:LTS |
before 1:2.7.4-0ubuntu1.6, plus listed versions 1:2.5.0-11:2.6.2-11:2.6.3-11:2.6.4-11:2.7.0~rc3-1 Show 8 moreShow less1:2.7.0-11:2.7.3-0ubuntu11:2.7.4-0ubuntu11:2.7.4-0ubuntu1.11:2.7.4-0ubuntu1.21:2.7.4-0ubuntu1.31:2.7.4-0ubuntu1.41:2.7.4-0ubuntu1.5 |
1:2.7.4-0ubuntu1.6 |
gitopenSUSE:Tumbleweed |
before 2.33.0-1.3 | 2.33.0-1.3 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
git.kernel.org/pub/scm/git/git.git/commit?id=321fd82389742398d2924640ce3a61791fd27d60
securityfocus.com/bid/106020
git.kernel.org/pub/scm/git/git.git/tree/Documentation/RelNotes/2.19.2.txt
securitytracker.com/id/1042166
access.redhat.com/errata/RHSA-2018:3800
usn.ubuntu.com/3829-1
Show 38 moreShow less
security.gentoo.org/glsa/201904-13
nvd.nist.gov/vuln/detail/CVE-2018-19486
github.com/advisories/GHSA-4rxq-j825-6wv8
security.alpinelinux.org/vuln/CVE-2018-19486
security-tracker.debian.org/tracker/CVE-2018-19486
advisories.mageia.org/MGASA-2019-0199.html
bugs.mageia.org/show_bug.cgi?id=24058
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1653143
security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_3800.json
access.redhat.com/security/cve/CVE-2018-19486
cve.org/CVERecord?id=CVE-2018-19486
suse.com/support/update/announcement/2018/suse-su-20184190-1
bugzilla.suse.com/1117257
suse.com/security/cve/CVE-2018-19486
ubuntu.com/security/CVE-2018-19486
ubuntu.com/security/notices/USN-3829-1
ubuntu.com/security/CVE-2017-15298
suse.com/security/cve/CVE-2005-4900
suse.com/security/cve/CVE-2017-1000117
suse.com/security/cve/CVE-2017-14867
suse.com/security/cve/CVE-2017-15298
suse.com/security/cve/CVE-2017-8386
suse.com/security/cve/CVE-2018-11233
suse.com/security/cve/CVE-2018-11235
suse.com/security/cve/CVE-2018-17456
suse.com/security/cve/CVE-2019-1348
suse.com/security/cve/CVE-2019-1349
suse.com/security/cve/CVE-2019-1350
suse.com/security/cve/CVE-2019-1351
suse.com/security/cve/CVE-2019-1352
suse.com/security/cve/CVE-2019-1353
suse.com/security/cve/CVE-2019-1354
suse.com/security/cve/CVE-2019-1387
suse.com/security/cve/CVE-2019-19604
suse.com/security/cve/CVE-2020-11008
suse.com/security/cve/CVE-2020-5260
suse.com/security/cve/CVE-2021-21300