Read the docs
TI-2021-02701 Aliases CVE-2021-3769GHSA-f8r6-c3hp-ccv4

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 `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.

Why it matters now

EPSS 0.00971 62nd percentileScored 2026-11-07
Fix Fixed ohmyzsh/ohmyzsh (ohmyzsh): b3ba9978

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
ohmyzshohmyzsh/ohmyzshbefore b3ba9978b3ba9978Patch availableCNA
  • ohmyzsh/ohmyzsh Vendorohmyzsh Affected before b3ba9978 Fixed in b3ba9978 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 b3ba9978

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-3769
  2. 2026-10-03 Alias added: GHSA-f8r6-c3hp-ccv4

References

  • TI-2021-02660 OS Command Injection in ohmyzsh/ohmyzsh CVSS 3.1CRITICAL 9.8
  • TI-2021-02659 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