cve.bz

CVE-2018-19486 Untrusted Search Path

9.8 criticalEPSS 4.2%Fix available

Critical (9.8). EPSS 4.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
4.2% (unchanged from 4.2% a week ago; 4.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-426 Untrusted Search Path
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-19486 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-19486?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-19486?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-19486 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
git-scm:gitbefore 2.19.2
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14git1:2.19.2-1DEBIAN-CVE-2018-19486
Ubuntu14.04:LTSgit1:1.9.1-1ubuntu0.10USN-3829-1
Ubuntu16.04:LTSgit1:2.7.4-0ubuntu1.6USN-3829-1
Ubuntu18.04:LTSgit1:2.17.1-1ubuntu0.4UBUNTU-CVE-2018-19486 USN-3829-1
Red Hatrhel_software_collections:3::el7rh-git218-git, rh-git218-gitk, rh-git218-git-p4 and 14 more0:2.18.1-3.el7RHSA-2018:3800
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Development Tools 15git2.16.4-3.9.2SUSE-SU-2018:4190-1
openSUSETumbleweedgit2.33.0-1.3openSUSE-SU-2024:10786-1
Alpinev3.6git2.13.7-r2ALPINE-CVE-2018-19486
Alpinev3.8git2.18.1-r1ALPINE-CVE-2018-19486

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-git218-git-0:2.18.1-3.el7Fixed 2018-12-10RHSA-2018:3800
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-git218-git-0:2.18.1-3.el7Fixed 2018-12-10RHSA-2018:3800
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-git218-git-0:2.18.1-3.el7Fixed 2018-12-10RHSA-2018:3800
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-git218-git-0:2.18.1-3.el7Fixed 2018-12-10RHSA-2018:3800
Red Hat Enterprise Linux 6gitNot affected
Red Hat Enterprise Linux 7gitNot affected
Red Hat Enterprise Linux 8gitNot affected
Red Hat Software Collectionsrh-git29-gitNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-19486.

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON