Read the docs
TI-2021-02659 Aliases CVE-2021-3726GHSA-8jcw-2h4x-29pq

OS Command Injection in ohmyzsh/ohmyzsh

Priority MEDIUM 44CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-78.

Summary

# 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](https://github.com/ohmyzsh/ohmyzsh/commit/a263cdac). **Impacted areas**: - `title` function in `lib/termsupport.zsh`. - Custom user code using the `title` function.

Why it matters now

EPSS 0.0081 57th percentileScored 2026-11-07
Fix Fixed ohmyzsh/ohmyzsh (ohmyzsh): a263cdac

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ohmyzshohmyzsh/ohmyzshbefore a263cdaca263cdacPatch availableCNA
  • ohmyzsh/ohmyzsh Vendorohmyzsh Affected before a263cdac Fixed in a263cdac Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:planetargon:oh_my_zsh:*:*:*:*:*:*:*:*before 2021-11-11Vulnerableohmyzsh
  • cpe:2.3:a:planetargon:oh_my_zsh:*:*:*:*:*:*:*:* Versions before 2021-11-11 Vulnerable ·ohmyzsh

Remediation

  • Fix · CNA ohmyzsh/ohmyzsh (ohmyzsh) Fixed in a263cdac

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-3726
  2. 2026-10-03 Alias added: GHSA-8jcw-2h4x-29pq

References

  • TI-2021-02701 OS Command Injection in ohmyzsh/ohmyzsh CVSS 3.1CRITICAL 9.8
  • TI-2021-02660 OS Command Injection in ohmyzsh/ohmyzsh CVSS 3.1CRITICAL 9.8
  • TI-2021-02658 OS Command Injection in ohmyzsh/ohmyzsh CVSS 3.1HIGH 8.8
  • TI-2021-02841 OS Command Injection in ohmyzsh/ohmyzsh CVSS 3.1HIGH 7.5

Sources