# CVE-2020-7606: OS Command Injection in docker-compose-remote-api

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.71%, higher than 86% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-03-15T21:31:11.000Z
- Modified: 2026-06-17T03:25:06.603Z
- Also known as: GHSA-q6pj-jh94-5fpr
- Weaknesses: CWE-78
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- docker-compose-remote-api: All versions including 0.1.4
- docker-compose-remote-api (npm): up to 0.1.4
- docker-compose-remote-api_project docker-compose-remote-api: up to 0.1.4

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-DOCKERCOMPOSEREMOTEAPI-560125> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7606> (advisory)

## Sources

- CVE List: [CVE-2020-7606](https://www.cve.org/CVERecord?id=CVE-2020-7606), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-q6pj-jh94-5fpr](https://github.com/advisories/GHSA-q6pj-jh94-5fpr), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2020-7606](https://nvd.nist.gov/vuln/detail/CVE-2020-7606), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7606 · Whole record: https://cve.day/CVE-2020-7606.json · Rebuilt by cve.day 2026-11-25T22:57:51.538Z
