HOMEVULNERABILITIESCVE-2021-45444
HIGH

CVE-2021-45444

NVD-CWE-noinfoPublished: February 14, 2022· Updated: Jun 17, 2026

7.8
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2021-45444 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Vendors & Products

Apple2 product(s)
mac os xmacos
Debian1 product(s)
debian linux
Fedora1 product(s)
fedora
zsh1 product(s)
zsh
Source: NVD CPE · 9 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (24)

Quick Facts

CVE IDCVE-2021-45444
CVSS Score7.8 / 10
SeverityHIGH
CISA KEVNo
Affected4 vendor(s)
PublishedFeb 14, 2022

Related CVEs (NVD-CWE-noinfo)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-45444 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.