Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-3725: Vulnerability in dirhistory plugin Description: the widgets that go back and forward in the directory history,

42
This month
HIGH 7.5UPGRADE

CVE-2021-3725 is a high-severity flaw (CVSS 7.5) affecting oh my zsh. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance1.1% (top 36%)
CISA exploited listNo
WeaknessCWE-78, CWE-94
Published2021-11-30
Last modified2026-06-17
Publisher (CNA): huntr.dev · Vendor: planetargon

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

planetargon oh my zsh UPGRADE
Affected: < 11-11-2021
Fixed in: 11-11-2021
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy oh-my-zsh || rpm -q oh-my-zsh || oh-my-zsh --version
2. UPGRADE to 11-11-2021 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade oh-my-zsh
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade oh-my-zsh
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-3725?

oh my zsh: upgrade to 11-11-2021. Exact commands for each OS are on this page.

Is CVE-2021-3725 being exploited?

CVE-2021-3725 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2021-3725 affect?

CVE-2021-3725 affects oh my zsh. Severity is high (CVSS 7.5). 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 direc

How urgent is CVE-2021-3725?

Priority 42/100. High severity

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.