CVE-2021-3769
published high CVSS 3.1 · 7.5OS Command Injection in ohmyzsh/ohmyzsh
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ohmyzsh | — | ohmyzsh/ohmyzshunspecified to < b3ba9978 | Affected | Not stated | @huntrdev |
Description
# Vulnerability in `pygmalion`, `pygmalion-virtualenv` and `refined` themes **Description**: these themes use `print -P` on user-supplied strings to print them to the terminal. All of them do that on git information, particularly the branch name, so if the branch has a specially-crafted name the vulnerability can be exploited. **Fixed in**: [b3ba9978](https://github.com/ohmyzsh/ohmyzsh/commit/b3ba9978). **Impacted areas**: - `pygmalion` theme. - `pygmalion-virtualenv` theme. - `refined` theme.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- @huntrdev · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ohmyzsh | ohmyzsh/ohmyzsh | unspecified to < b3ba9978 (affected · custom) | @huntrdev · cna |
Weaknesses
1- CWE-78 CWE-78 OS Command Injection
References
1Provider assertions
2@huntrdev · cna
OS Command Injection in ohmyzsh/ohmyzsh
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6f59fe70db26e705df7c5485856184fc3cf64010ba20a02f7d614bda0114d7a2
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record