CriticalFix available
git — security advisory
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.
- Products
- git
- Affected versions
- Not specified
- Fixed versions
- 2.13.7-r2, 2.18.1-r1
- CVEs
- CVE-2018-19486
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 22:15 UTC · Revision 1
Source evidence
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.
osv:ALPINE-CVE-2018-19486
git
Fixed versions: 2.13.7-r2
git
Fixed versions: 2.18.1-r1
Complete source record
{
"id": "08d898127f3465119265a57abd985d95892b13c5ca1f2118831075b5e6466c52",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2018-19486",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2018-19486",
"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.",
"evidence": "osv:ALPINE-CVE-2018-19486",
"products": [
{
"name": {
"value": "git",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.13.7-r2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "git",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.18.1-r1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "ALPINE-CVE-2018-19486",
"aliases": [
"ALPINE-CVE-2018-19486"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.13.7-r2"
}
]
}
],
"package": {
"name": "git",
"purl": "pkg:apk/alpine/git?arch=source",
"ecosystem": "Alpine:v3.6"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-19486.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.18.1-r1"
}
]
}
],
"package": {
"name": "git",
"purl": "pkg:apk/alpine/git?arch=source",
"ecosystem": "Alpine:v3.8"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-19486.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-23T17:24:32.782103661Z",
"provider": "osv",
"upstream": [
"CVE-2018-19486"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2018-19486"
]
},
"related_cves": [
{
"value": "CVE-2018-19486",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 416053,
"published_at": "2018-11-23T08:29:00.263+00:00"
}