CWE
426
Advisory Published
CVE Published
Updated

CVE-2018-19486

First published: Fri Nov 23 2018(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/git<2.19.2
2.19.2
ubuntu/git<1:2.17.1-1ubuntu0.4
1:2.17.1-1ubuntu0.4
ubuntu/git<1:2.19.1-1ubuntu1.1
1:2.19.1-1ubuntu1.1
ubuntu/git<1:2.19.2-1
1:2.19.2-1
debian/git
1:2.30.2-1+deb11u2
1:2.39.2-1.1
1:2.43.0-1
1:2.45.2-1
All of
Git Git-shell<2.19.2
Linux Kernel
Ubuntu=18.04
Ubuntu=18.10
Git Git-shell<2.19.2
Linux Kernel

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID for this Git vulnerability?

    The vulnerability ID for this Git vulnerability is CVE-2018-19486.

  • What is the severity of CVE-2018-19486?

    The severity of CVE-2018-19486 is critical with a CVSS score of 9.8.

  • Which operating systems are affected by CVE-2018-19486?

    CVE-2018-19486 affects Linux and UNIX operating systems.

  • What is the recommended version to fix CVE-2018-19486?

    The recommended version to fix CVE-2018-19486 is Git 2.19.2.

  • Where can I find more information about CVE-2018-19486?

    You can find more information about CVE-2018-19486 on the following websites: [Security Focus](http://www.securityfocus.com/bid/106020), [Security Tracker](http://www.securitytracker.com/id/1042166), [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2018:3800).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203