Technical impact
iTerm2 before 3.7.7beta2 is vulnerable to argument injection in its x‑man‑page: URL handler; percent‑encoded NUL characters bypass sanitation and are turned into whitespace during command-line parsing, enabling an attacker to append arbitrary arguments to /usr/bin/man, such as the –P option to specify a malicious pager command, thus allowing execution of arbitrary commands with the user’s privileges. The flaw originates from an incomplete fix of a prior CVE and is identified as CWE‑88.
Affected Systems
All iTerm2 (iTerm2) installations running a version earlier than 3.7.7beta2 are affected; releases 3.7.7beta2 and later include the repair that validates sections and page names against an allowlist and rejects URLs containing disallowed characters.
Risk and Exploitability
The CVSS score of 8.7 marks the vulnerability as high; no EPSS score is available and it is not listed in the CISA KEV catalog, suggesting limited documented exploitation. The attack requires a user to open a crafted URL, providing a local‑user vector that can lead to complete compromise of the user’s session and potential system-wide impact if further actions are taken.