# CVE-2021-23732: Arbitrary Code Execution

- Severity: Critical 9.0 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/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): 1.90%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-22T17:00:16.652Z
- Modified: 2026-09-10T03:49:16.287Z
- Also known as: GHSA-ff45-7prw-58vj
- Weaknesses: CWE-78
- Assigned by: snyk

## Description

This affects all versions of package docker-cli-js. If the command parameter of the Docker.command method can at least be partially controlled by a user, they will be in a position to execute any arbitrary OS commands on the host system.

(As written by CVE List.)

## Affected

- docker-cli-js: before unspecified
- docker-cli-js (npm): up to 2.8.0
- quobject docker-cli-js: no versions given

## Every score

- snyk: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: rating Medium
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.3 High `AV:N/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://snyk.io/vuln/SNYK-JS-DOCKERCLIJS-1568516> (exploit, third-party-advisory, vdb-entry, web)
- <https://security.netapp.com/advisory/ntap-20211223-0004/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23732> (advisory)
- <https://github.com/Quobject/docker-cli-js/issues/22> (web)
- <https://github.com/Quobject/docker-cli-js/issues/22#issuecomment-967760940> (web)
- <https://github.com/Quobject/docker-cli-js> (package)

## Sources

- CVE List: [CVE-2021-23732](https://www.cve.org/CVERecord?id=CVE-2021-23732), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-ff45-7prw-58vj](https://github.com/advisories/GHSA-ff45-7prw-58vj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-23732](https://nvd.nist.gov/vuln/detail/CVE-2021-23732), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23732 · Whole record: https://cve.day/CVE-2021-23732.json · Rebuilt by cve.day 2026-11-25T22:58:05.710Z
