Critical
Security advisory
push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable "opt.branch" is not validated before being provided to the "git" command within "index.js#L139". This could be abused by an attacker to inject arbitrary commands.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-10803
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:33 UTC · Revision 1
Source evidence
push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable "opt.branch" is not validated before being provided to the "git" command within "index.js#L139". This could be abused by an attacker to inject arbitrary commands.
osv:CVE-2019-10803
Complete source record
{
"id": "4ea75484cf7cc8eb8b69176da4b4f1f940b88b5c73ff8a3c5edd580706b941cf",
"url": "https://osv.dev/vulnerability/CVE-2019-10803",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-10803",
"summary": "push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable \"opt.branch\" is not validated before being provided to the \"git\" command within \"index.js#L139\". This could be abused by an attacker to inject arbitrary commands.",
"evidence": "osv:CVE-2019-10803",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2019-10803",
"aliases": [
"CVE-2019-10803",
"GHSA-926x-m6m5-3mmp",
"SNYK-JS-PUSHDIR-559009"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/l33t-kr3w/push-dir",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "5b146b847b53d3226dc803da611d605aec080e7d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:push-dir_project:push-dir:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.4.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-10803.json"
}
}
],
"modified": "2026-10-20T10:50:38.400645680Z",
"provider": "osv",
"references": [
"https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139",
"https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-10803",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381941,
"published_at": "2020-02-28T21:15:13.01+00:00"
}