Oh My Zsh is a community-driven framework for managing Zsh configuration. Prior to 2026-05-28, the dotenv plugin in plugins/dotenv/dotenv.plugin.zsh passes ZSH_DOTENV_FILE to source after a directory change into a folder containing a .env file, allowing syntactically valid shell commands in the file to execute with the current account's privileges, including without a prompt when ZSH_DOTENV_PROMPT=false or after the default prompt accepts an empty Enter response. This issue is fixed in versions released after 2026-05-28.
CVE-2026-50187
This high-severity CVE scores 8.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 60% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 40%
- KEV
- Not listed
Published
August 18, 2026
Last Modified
August 18, 2026
Advisory Details (3)
Auto-updated Aug 18, 2026Arbitrary Code Execution in oh-my-zsh dotenv plugin via malicious .env files · Advisory · ohmyzsh/ohmyzsh · GitHub
https://github.com/ohmyzsh/ohmyzsh/security/advisories/GHSA-3rgh-p3mg-rjqgfix(dotenv): introduce safe parsing of .env files
Fix merged in ohmyzsh/ohmyzsh PR #13778 on 2026-05-28 — awaiting tagged release
https://github.com/ohmyzsh/ohmyzsh/pull/13778commit d170d18746bb (ohmyzsh/ohmyzsh)
Fix landed in ohmyzsh/ohmyzsh commit d170d18746bb — awaiting tagged release
https://github.com/ohmyzsh/ohmyzsh/commit/d170d18746bb06db7b2fc97b67e281597a3fc152Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 25× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-30 02:36 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 03:58 UTCEG score recompute
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 19:29 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 20:49 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 21:43 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 22:46 UTCEG score recompute
- 2026-08-24 11:27 UTCEG score recompute
- 2026-08-23 01:31 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 02:51 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 04:12 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 18:15 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 18:24 UTCEG score recompute
- 2026-08-18 18:00 UTCEG score recompute
- 2026-08-18 15:19 UTCEG score recompute
- 2026-08-18 15:14 UTCEG score recompute
- 2026-08-18 15:14 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2003-1432EG 10.0EPSS p94HIGH
- CVE-2002-0495EG 10.0EPSS p96HIGH
- CVE-1999-0702EG 10.0EPSS p98HIGH
- CVE-1999-0509EG 10.0EPSS p98HIGH
- CVE-2006-1318EG 9.3EPSS p97HIGH
- CVE-2006-1301EG 9.3EPSS p95HIGH
- CVE-2006-1308EG 9.3EPSS p95HIGH
- CVE-2006-1309EG 9.3EPSS p95HIGH
- CVE-2006-1304EG 9.3EPSS p96HIGH
- CVE-2006-1306EG 9.3EPSS p95HIGH
Frequently asked(5)
What is CVE-2026-50187?
When was CVE-2026-50187 disclosed?
Is CVE-2026-50187 actively exploited?
What is the CVSS score of CVE-2026-50187?
How do I remediate CVE-2026-50187?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-50187
Is Your Infrastructure Affected by CVE-2026-50187?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.