CVE-2021-3726
OS Command Injection in ohmyzsh/ohmyzsh
7.5 High
Vulnerability in title function Description: the title function defined in lib/termsupport.zsh uses print to set the terminal title to a user-supplied string. In Oh My Zsh, this function is always used securely, but custom user code could use the title function in a way that is unsafe. Fixed in: a263cdac. Impacted areas: - title function in lib/termsupport.zsh. - Custom user code using the title function.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
0.81%Up 0.4 points since Dec 1, 2021
What each source reports
CVE List Score used
7.5
OS Command Injection in ohmyzsh/ohmyzsh
Vulnerability in title function Description: the title function defined in lib/termsupport.zsh uses print to set the terminal title to a user-supplied string. In Oh My Zsh, this function is always used securely, but custom user code could use the title function in a way that is unsafe. Fixed in: a263cdac. Impacted areas: - title function in lib/termsupport.zsh. - Custom user code using the title function.
- Record
CVE-2021-3726- 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 - Weakness
- CWE-78
- Updated
- 2026-11-02
EUVDEUVD-2021-27006
7.5
Vulnerability in title function Description: the title function defined in lib/termsupport.zsh uses print to set the terminal title to a user-supplied string. In Oh My Zsh, this function is always used securely, but custom user code could use the title function in a way that is unsafe. Fixed in: a263cdac. Impacted areas: - title function in lib/termsupport.zsh. - Custom user code using the title function.
- Record
EUVD-2021-27006- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8jcw-2h4x-29pq No score
# Vulnerability in `title` function **Description**: the `title` function defined in `lib...
Vulnerability in title function Description: the title function defined in lib/termsupport.zsh uses print to set the terminal title to a user-supplied string. In Oh My Zsh, this function is always used securely, but custom user code could use the title function in a way that is unsafe. Fixed in: a263cdac. Impacted areas: - title function in lib/termsupport.zsh. - Custom user code using the title function.
- Record
GHSA-8jcw-2h4x-29pq- Weakness
- CWE-78
- Updated
- 2026-11-02
NVD
7.5
Vulnerability in title function Description: the title function defined in lib/termsupport.zsh uses print to set the terminal title to a user-supplied string. In Oh My Zsh, this function is always used securely, but custom user code could use the title function in a way that is unsafe. Fixed in: a263cdac. Impacted areas: - title function in lib/termsupport.zsh. - Custom user code using the title function.
- Record
CVE-2021-3726- 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 - 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 - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-78
- Updated
- 2026-11-02
OSV
9.8
Vulnerability in title function Description: the title function defined in lib/termsupport.zsh uses print to set the terminal title to a user-supplied string. In Oh My Zsh, this function is always used securely, but custom user code could use the title function in a way that is unsafe. Fixed in: a263cdac. Impacted areas: - title function in lib/termsupport.zsh. - Custom user code using the title function.
- Record
CVE-2021-3726- 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 - Updated
- 2026-11-02
Affected products
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3726 is a high vulnerability (CVSS 7.5) in Ohmyzsh Ohmyzsh/ohmyzsh, published November 30, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.81%, the 57th percentile. No source names a fixed version.