Loading
In zsh before 5.8.1, an attacker can achieve code execution if they control a command output inside the prompt, as demonstrated by a %F argument. This occurs because of recursive PROMPT_SUBST expansion.
Cite this page
CVE-2021-45444. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2021-45444
Use Zsh vendor hub and Zsh product page to widen CVE-2021-45444 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2018-13259, CVE-2018-0502 and CVE-2018-7548 for nearby disclosures in the same product family.