PT-2021-21593 · Ohmyzsh · Ohmyzsh

Published

2021-11-30

·

Updated

2025-11-10

·

CVE-2021-3726

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Oh My Zsh versions prior to the version that includes commit a263cdac
Description The issue arises from the title function defined in lib/termsupport.zsh, which uses print to set the terminal title to a user-supplied string. Although Oh My Zsh uses this function securely, custom user code could potentially use it in an unsafe manner.
Recommendations For versions prior to the one that includes commit a263cdac, update to a version that includes this commit to resolve the issue. As a temporary workaround, consider restricting the use of the title function in custom user code until a patch is available.

Fix

OS Command Injection

Weakness Enumeration

Related Identifiers

CVE-2021-3726

Affected Products

Ohmyzsh