Lucene search
+L

CVE-2026-50187

🗓️ 18 Aug 2026 15:09:51Reported by GitHub_MType 
cve
 cve
🔗 web.nvd.nist.gov👁 68 Views🌐 WEB

Oh My Zsh dotenv plugin sources malicious .env files enabling arbitrary code execution before 2026-05-28.

Related
Affected
Refs
Paths
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2026-50187
18 Aug 202615:09
–attackerkb
cvelist
Cvelist
CVE-2026-50187 Oh My Zsh: Arbitrary Code Execution in oh-my-zsh dotenv plugin via malicious .env files
18 Aug 202615:09
–cvelist
euvd
EUVD
EUVD-2026-60954
18 Aug 202615:09
–euvd
mend
Mend
CVE-2026-50187
18 Aug 202615:09
–mend
nvd
NVD
CVE-2026-50187
18 Aug 202615:16
–nvd
ptsecurity
Positive Technologies
PT-2026-77142
18 Aug 202600:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2026-50187: Improper Control of Generation of Code
18 Aug 202600:00
–rapid7
redhatcve
RedhatCVE
CVE-2026-50187
22 Sep 202620:08
–redhatcve
[
  {
    "vendor": "ohmyzsh",
    "product": "ohmyzsh",
    "versions": [
      {
        "version": "< 2026-05-28",
        "status": "affected"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
ZSH_DOTENV_FILEpathplugins/dotenv/dotenv.plugin.zshUnsafe sourcing of .env files via the dotenv plugin allows execution of syntactically valid shell commands with the current user privileges when directory changes land on a folder containing a .env file.CWE-94
ZSH_DOTENV_PROMPTpathplugins/dotenv/dotenv.plugin.zshUnsafe sourcing of .env files via the dotenv plugin allows execution of syntactically valid shell commands with the current user privileges when directory changes land on a folder containing a .env file.CWE-94

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Sep 2026 20:05Current
6.1Medium risk
Vulners AI Score6.1
CVSS 3.18.8
EPSS0.00539
68