{"id":"CVE-2020-7606","aliases":["EUVD-2021-1162","GHSA-q6pj-jh94-5fpr"],"status":"published","title":"OS Command Injection in docker-compose-remote-api","description":"docker-compose-remote-api through 0.1.4 allows execution of arbitrary commands. Within 'index.js' of the package, the function 'exec(serviceName, cmd, fnStdout, fnStderr, fnExit)' uses the variable 'serviceName' which can be controlled by users without any sanitization.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.0271,"percentile":0.86101,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-78"],"published":"2020-03-15T21:31:11Z","modified":"2026-06-17T03:25:06Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"docker-compose-remote-api","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.4"}]}]},{"source":"osv","ecosystem":"npm","package":"docker-compose-remote-api","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.4"}]}]}],"products":[{"vendor":"docker-compose-remote-api_project","product":"docker-compose-remote-api"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-DOCKERCOMPOSEREMOTEAPI-560125","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7606","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-q6pj-jh94-5fpr"}],"sources":{"cve":[{"id":"CVE-2020-7606","description":"docker-compose-remote-api through 0.1.4 allows execution of arbitrary commands. Within 'index.js' of the package, the function 'exec(serviceName, cmd, fnStdout, fnStderr, fnExit)' uses the variable 'serviceName' which can be controlled by users without any sanitization.","status":"published","published":"2020-03-15T21:31:11Z","modified":"2024-08-04T09:33:19.966Z","updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2021-1162","description":"docker-compose-remote-api through 0.1.4 allows execution of arbitrary commands. Within 'index.js' of the package, the function 'exec(serviceName, cmd, fnStdout, fnStderr, fnExit)' uses the variable 'serviceName' which can be controlled by users without any sanitization.","status":"published","published":"2020-03-15T21:31:11Z","modified":"2024-08-04T09:33:19Z","updated_at":"2026-11-03T03:07:59.058668Z"}],"ghsa":[{"id":"GHSA-q6pj-jh94-5fpr","title":"OS Command Injection in docker-compose-remote-api","description":"docker-compose-remote-api through 0.1.4 allows execution of arbitrary commands. Within `index.js` of the package, the function `exec(serviceName, cmd, fnStdout, fnStderr, fnExit)` uses the variable `serviceName` which can be controlled by users without any sanitization.","status":"published","published":"2021-05-07T16:14:39Z","modified":"2023-09-11T22:26:16Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:37:04.447845Z"}],"nvd":[{"id":"CVE-2020-7606","description":"docker-compose-remote-api through 0.1.4 allows execution of arbitrary commands. Within 'index.js' of the package, the function 'exec(serviceName, cmd, fnStdout, fnStderr, fnExit)' uses the variable 'serviceName' which can be controlled by users without any sanitization.","status":"published","published":"2020-03-15T22:15:14.88Z","modified":"2026-06-17T03:25:06.603Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:05:55.32877Z"}],"osv":[{"id":"GHSA-q6pj-jh94-5fpr","title":"OS Command Injection in docker-compose-remote-api","description":"docker-compose-remote-api through 0.1.4 allows execution of arbitrary commands. Within `index.js` of the package, the function `exec(serviceName, cmd, fnStdout, fnStderr, fnExit)` uses the variable `serviceName` which can be controlled by users without any sanitization.","status":"published","published":"2021-05-07T16:14:39Z","modified":"2026-03-13T22:11:09.188718Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:54.055966Z"}]}}
