Read the docs
TI-2021-02658 Aliases CVE-2021-3725GHSA-3jcx-v57w-c6rq

OS Command Injection in ohmyzsh/ohmyzsh

Priority MEDIUM 40CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
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 dirhistory plugin Description: the widgets that go back and forward in the directory history, triggered by pressing Alt-Left and Alt-Right, use functions that unsafely execute eval on directory names. If you cd into a directory with a carefully-crafted name, then press Alt-Left, the system is subject to command injection. Impacted areas: - Functions pop_past and pop_future in dirhistory plugin.

Why it matters now

EPSS 0.01052 64th percentileScored 2026-11-07
Fix Fixed ohmyzsh/ohmyzsh (ohmyzsh): 06fc5fb

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
ohmyzshohmyzsh/ohmyzshbefore 06fc5fb06fc5fbPatch availableCNA
  • ohmyzsh/ohmyzsh Vendorohmyzsh Affected before 06fc5fb Fixed in 06fc5fb Patch available CNA

CPE configurations NVD · 1

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

Remediation

  • Fix · CNA ohmyzsh/ohmyzsh (ohmyzsh) Fixed in 06fc5fb

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-3725
  2. 2026-10-03 Alias added: GHSA-3jcx-v57w-c6rq

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

Sources