Git before 2.19.2 on Linux and UNIX executes commands from the current working directory…
Priority MEDIUM 49CWE-426Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-426.
Summary
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.
Why it matters now
EPSS 0.0412 90th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* | before 2.19.2 | Vulnerable | Git-scm |
| cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Linux |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* | 18.10 | Vulnerable | Canonical |
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* Versions before 2.19.2 Vulnerable ·Git-scm
- cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Linux
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* Versions 18.10 Vulnerable ·Canonical
Remediation
Red Hat 1 advisory
- RHSA-2018:3800 Released 2018-12-10 · Red Hat rating Importantrh-git218-git security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-git218-git-2.18.1-3.el7, rh-git218-git-all-2.18.1-3.el7, rh-git218-git-core-2.18.1-3.el7 +13
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-git218-git-2.18.1-3.el7, rh-git218-git-all-2.18.1-3.el7, rh-git218-git-core-2.18.1-3.el7 +13
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-git218-git-2.18.1-3.el7, rh-git218-git-all-2.18.1-3.el7, rh-git218-git-core-2.18.1-3.el7 +13
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-git218-git-2.18.1-3.el7, rh-git218-git-all-2.18.1-3.el7, rh-git218-git-core-2.18.1-3.el7 +13
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-git218-git-2.18.1-3.el7, rh-git218-git-all-2.18.1-3.el7, rh-git218-git-core-2.18.1-3.el7 +13
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:3800 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:3800 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2018:3800 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2018:3800 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:3800 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2018-19486
- 2026-10-03 Alias added: GHSA-4rxq-j825-6wv8
References
Sources
- CVE-2018-19486 · CVE Program
- CVE-2018-19486 · NVD
- FIRST EPSS
- GHSA-4rxq-j825-6wv8 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-19486 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences