---
title: "CVE-2018-19486\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-19486?format=md
keywords: index, follow
---

# CVE-2018-19486

Publication date 23 November 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2018-19486?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| git | 18.10 cosmic | Fixed 1:2.19.1-1ubuntu1.1 |
| 18.04 LTS bionic | Fixed 1:2.17.1-1ubuntu0.4 |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2018-19486?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| git | * Upstream:   [?id=321](https://git.kernel.org/pub/scm/git/git.git/commit/?id=321fd82389742398d2924640ce3a61791fd27d60) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19486)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-19486)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-19486)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-19486)

### Related Ubuntu Security Notices (USN)

+ [USN-3829-1](https://usn.ubuntu.com/USN-3829-1)
+ Git vulnerabilities
+ 27 November 2018

### Other references

* <https://git.kernel.org/pub/scm/git/git.git/tree/Documentation/RelNotes/2.19.2.txt>
* <https://www.cve.org/CVERecord?id=CVE-2018-19486>
