# CVE-2021-3934: OS Command Injection in ohmyzsh/ohmyzsh

- Severity: High 7.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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): 0.62%, higher than 44% of CVEs (2026-11-30)
- Published: 2021-11-12T11:45:10.000Z
- Modified: 2026-06-17T04:06:00.953Z
- Weaknesses: CWE-78
- Assigned by: @huntrdev

## Description

ohmyzsh is vulnerable to Improper Neutralization of Special Elements used in an OS Command

(As written by CVE List.)

## Affected

- ohmyzsh ohmyzsh/ohmyzsh: from unspecified before 6cb41b70a6d04301fd50cd5862ecd705ba226c0e
- planetargon oh_my_zsh: before 2021-11-11

## Every score

- @huntrdev: CVSS:3.0 7.8 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 5.1 Medium `AV:N/AC:H/Au:N/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/ad2b5c3f-a3ce-4407-94dc-354c723310ce> (permissions-required)
- <https://github.com/ohmyzsh/ohmyzsh/commit/6cb41b70a6d04301fd50cd5862ecd705ba226c0e> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3934](https://www.cve.org/CVERecord?id=CVE-2021-3934), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3934](https://nvd.nist.gov/vuln/detail/CVE-2021-3934), Public domain, modified 2026-06-17

---

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