CVE-2021-3726

OS Command Injection in ohmyzsh/ohmyzsh

Published Nov 30, 2021 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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](https://github.com/ohmyzsh/ohmyzsh/commit/a263cdac). **Impacted areas**: - `title` function in `lib/termsupport.zsh`. - Custom user code using the `title` function.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-27006 # 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntrdev
Published
Updated
Aug 3, 2024, 5:01 PM
Reserved
Aug 19, 2021, 12:00 AM
Status
Modified
Published
Nov 30, 2021, 10:15 AM
Modified
Jun 17, 2026, 4:05 AM