Every CVESearch/Get API key

CVE-2021-3726

OS Command Injection in ohmyzsh/ohmyzsh

7.5 High

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.

What does this mean?
Severity
7.5 HighCVSS 3.1, CVE List
Exploit chance
0.81%EPSS, 57th percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
No fix listedNo source names one

Description

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
90%50%10%1%

Affected products

What each source reports

CVE List Score used7.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 HighCVSS: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-270067.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 HighCVSS: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-29pqNo 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
NVD7.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 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-78
Updated
2026-11-02
OSV9.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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open