# CVE-2021-40720: Ops CLI Deserialization of Untrusted Data leads to Abritrary Code Execution

- Severity: Critical 9.8 (CVSS:3.1, scored by adobe) `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): 9.52%, higher than 95% of CVEs (2026-12-02)
- Published: 2021-10-15T14:22:00.184Z
- Modified: 2026-06-17T04:07:19.663Z
- Also known as: GHSA-x23q-4j9j-9cxw, PYSEC-2021-380
- Weaknesses: CWE-502
- Assigned by: adobe

## Description

Ops CLI version 2.0.4 (and earlier) is affected by a Deserialization of Untrusted Data vulnerability to achieve arbitrary code execution when the checkout_repo function is called on a maliciously crafted file. An attacker can leverage this to execute arbitrary code on the victim machine.

(As written by CVE List.)

## Affected

- Adobe Ops-CLI: from unspecified up to 2.0.4; from unspecified up to None; before 2.0.5
- ops-cli (PyPI): before 2.0.5

## Every score

- adobe: 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`
- 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`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://helpx.adobe.com/security/products/ops_cli/apsb21-88.html> (patch, release-notes, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-40720> (advisory)
- <https://github.com/adobe/ops-cli> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ops-cli/PYSEC-2021-380.yaml> (web)
- <https://github.com/advisories/GHSA-x23q-4j9j-9cxw> (advisory)

## Sources

- CVE List: [CVE-2021-40720](https://www.cve.org/CVERecord?id=CVE-2021-40720), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-x23q-4j9j-9cxw](https://github.com/advisories/GHSA-x23q-4j9j-9cxw), CC-BY-4.0, modified 2024-10-07
- NVD: [CVE-2021-40720](https://nvd.nist.gov/vuln/detail/CVE-2021-40720), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-380](https://osv.dev/vulnerability/PYSEC-2021-380), CC-BY-4.0, modified 2026-06-10

---

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