CVE-2026-50187
Last modified
CVE-2026-50187 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ohmyzsh | ohmyzsh | < 2026-05-28 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-50187?
How severe is CVE-2026-50187?
How do I fix CVE-2026-50187?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50181Langroid is a framework for building large-language-model-po…7.1
- CVE-2026-50182WWBN AVideo is an open source video platform. Versions prior…6.1
- CVE-2026-50183WWBN AVideo is an open source video platform. Versions 29.0 …4.7
- CVE-2026-50184Angular is a development platform for building mobile and de…6.1
- CVE-2026-50185RustCrypto CMOV provides conditional move CPU intrinsics whi…3.3
- CVE-2026-501864gaBoards is a boards system for realtime project management…8.8
- CVE-2026-50188Kirby is an open-source content management system. Prior to …6.9
- CVE-2026-50189Appsmith is a platform to build admin panels, internal tools…7.2
- CVE-2026-5019A security vulnerability has been detected in code-projects …9.8
- CVE-2026-50190Shaarli is a personal bookmarking service. Versions prior to…8.6
- CVE-2026-501914gaBoards is a boards system for realtime project management…8.8
- CVE-2026-50192Kerberos Agent is an open source video (surveillance) manage…6.9
Are you affected by CVE-2026-50187?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
