{"id":"CVE-2020-7606","aliases":["CVE-2020-7606","GHSA-q6pj-jh94-5fpr"],"related":[],"kind":"vulnerability","state":"published","title":"OS Command Injection in docker-compose-remote-api","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"docker-compose-remote-api versiones hasta 0.1.4, permite una ejecución de comandos arbitraria. Dentro del archivo \"index.js\" del paquete, la función  \"exec(serviceName, cmd, fnStdout, fnStderr, fnExit)\" usa la variable \"serviceName\" que puede ser controlada por los usuarios sin ningún tipo de saneamiento.","source":"nvd"}],"published":"2020-03-15T21:31:11.000Z","modified":"2026-06-17T03:25:06.603Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"All versions including 0.1.4","status":"affected"}],"product":"docker-compose-remote-api","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.1.4"}],"ecosystem":"npm","package":"docker-compose-remote-api","purl":"pkg:npm/docker-compose-remote-api","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.1.4"}],"vendor":"docker-compose-remote-api_project","product":"docker-compose-remote-api","cpe":"cpe:2.3:a:docker-compose-remote-api_project:docker-compose-remote-api:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-DOCKERCOMPOSEREMOTEAPI-560125","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7606","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7606","url":"https://www.cve.org/CVERecord?id=CVE-2020-7606","licence":"CVE Terms of Use","modified":"2024-08-04T09:33:19.966Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q6pj-jh94-5fpr","url":"https://github.com/advisories/GHSA-q6pj-jh94-5fpr","licence":"CC-BY-4.0","modified":"2026-03-13T22:11:09.188Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7606","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7606","licence":"Public domain","modified":"2026-06-17T03:25:06.603Z"}],"updatedAt":"2026-11-25T22:57:51.538Z","epss":{"score":0.0271,"percentile":0.86407,"date":"2026-12-02T12:00:21.000Z"}}