Every CVE Search/ Get API key

CVE-2018-19486

Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '...

9.8 CriticalFix available

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

4.12%Up 2.5 points since Apr 14, 2021
90%50%10%1%

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 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 HighCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
git
Alpine:v3.6
before 2.13.7-r2
2.13.7-r2
git
Alpine:v3.8
before 2.18.1-r1
2.18.1-r1
git
Debian:12
before 1:2.19.2-1
1:2.19.2-1
git
Debian:13
before 1:2.19.2-1
1:2.19.2-1
git
Debian:14
before 1:2.19.2-1
1:2.19.2-1
git
Mageia:6
before 2.13.7-1.3.mga6
2.13.7-1.3.mga6
rh-git218-git
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-all
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-core
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-core-doc
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
Show 19 moreShow less
Affected packages
PackageAffectedFixed
rh-git218-git-cvs
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-daemon
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-debuginfo
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-email
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-gui
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-instaweb
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-p4
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-subtree
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-git-svn
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-gitk
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-gitweb
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-perl-Git
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
rh-git218-perl-Git-SVN
Red Hat:rhel_software_collections:3::el7
before 0:2.18.1-3.el7
0:2.18.1-3.el7
git
SUSE:Linux Enterprise Module for Basesystem 15
before 2.16.4-3.9.2
2.16.4-3.9.2
git
SUSE:Linux Enterprise Module for Development Tools 15
before 2.16.4-3.9.2
2.16.4-3.9.2
git
Ubuntu: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
git
Ubuntu: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 less
1: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
git
Ubuntu: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 less
1: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
git
openSUSE:Tumbleweed
before 2.33.0-1.3
2.33.0-1.3

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 38 moreShow less
MoveEnter Open