CVE-2026-123014: High severity vulnerability
iTerm2 before 3.7.7beta2 has an argument injection vulnerability in the x-man-page: URL handler, allowing an attacker to execute arbitrary commands with the privileges of the logged-in user by inducing the user to open a crafted URL in iTerm2. Percent-encoded NUL characters survive input sanitization and are subsequently converted to whitespace during command-line parsing, allowing injection of additional arguments to /usr/bin/man. An attacker can inject the -P option to select an attacker-controlled pager command. NOTE: this issue exists because of an incomplete fix for CVE-2023-46321.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
iTerm2to a version that resolves this vulnerability.Fixed in 3.7.7beta2
Event History
Frequently Asked Questions
Which installations are affected?
iTerm2 versions before 3.7.7beta2 are affected.
What must an attacker do to trigger exploitation?
The attacker must induce the user to open a crafted x-man-page: URL in iTerm2. No attacker privileges are required, but user interaction is required.
What level of access can successful exploitation provide?
Successful exploitation can execute arbitrary commands with the privileges of the logged-in user.