Skip to content
OpenAdvisories

Vendor

ohmyzsh

6 known vulnerabilities.

6 results · Clear filters · Feed

  • High 8.8

    Oh My Zsh: Arbitrary Code Execution in oh-my-zsh dotenv plugin via malicious .env files

    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 synta…

  • High 7.5

    OS Command Injection in ohmyzsh/ohmyzsh

    # Vulnerability in `pygmalion`, `pygmalion-virtualenv` and `refined` themes **Description**: these themes use `print -P` on user-supplied strings to print them to the terminal. All of them do that on git information, particularly the branch name, so if the br…

  • High 7.5

    OS Command Injection in ohmyzsh/ohmyzsh

    # Vulnerability in `rand-quote` and `hitokoto` plugins **Description**: the `rand-quote` and `hitokoto` fetch quotes from quotationspage.com and hitokoto.cn respectively, do some process on them and then use `print -P` to print them. If these quotes contained…

  • High 7.5

    OS Command Injection in ohmyzsh/ohmyzsh

    # Vulnerability in `title` function **Description**: the `title` function defined in `lib/termsupport.zsh` uses `print` to set the terminal title to a user-supplied string. In Oh My Zsh, this function is always used securely, but custom user code could use th…

  • High 7.5

    OS Command Injection in ohmyzsh/ohmyzsh

    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 careful…

  • High 7.8

    OS Command Injection in ohmyzsh/ohmyzsh

    ohmyzsh is vulnerable to Improper Neutralization of Special Elements used in an OS Command