Lucene search
+L

CVE-2026-50187

🗓️ 18 Aug 2026 15:09:51Reported by GitHub_MType 
cve
 cve
🔗 web.nvd.nist.gov👁 38 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
nvd
NVD
CVE-2026-50187
18 Aug 202615:16
nvd
ptsecurity
Positive Technologies
PT-2026-77142
18 Aug 202600:00
ptsecurity
[
  {
    "vendor": "ohmyzsh",
    "product": "ohmyzsh",
    "versions": [
      {
        "version": "< 2026-05-28",
        "status": "affected"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
ZSH_DOTENV_FILEpathplugins/dotenv/dotenv.plugin.zshSourcing a .env file via the dotenv plugin can execute syntactically valid shell commands with privileges when the directory contains a .env file and conditions allow automatic prompt acceptance.CWE-94
ZSH_DOTENV_PROMPTpathplugins/dotenv/dotenv.plugin.zshSourcing a .env file via the dotenv plugin can execute syntactically valid shell commands with privileges when the directory contains a .env file and conditions allow automatic prompt acceptance.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 Aug 2026 18:17Current
5.5Medium risk
Vulners AI Score5.5
CVSS 3.18.8
EPSS0.00494
38