Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted x-man-page: URL to victim
-
DeliveryUser opens URL in iTerm2
-
ExploitNUL survives sanitization, parsed as whitespace
-
ExecutionInject -P pager argument to /usr/bin/man
-
ImpactExecute attacker-controlled command as user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Requires the victim to open a crafted x-man-page: URL inside iTerm2 (UI:P passive interaction), delivered via web, email, or chat, with iTerm2 registered to handle that scheme. The specific trigger is a percent-encoded NUL character that survives iTerm2's URL-handler input sanitization and is then converted to whitespace during command-line parsing, enabling injection of an additional -P option to /usr/bin/man that selects an attacker-controlled pager. No authentication is required (PR:N). Exploitation is LIMITED to iTerm2 versions before 3.7.7beta2 on macOS, and critically depends on inducing the user to open the malicious URL - it is not a fully unattended remote exploit. |
| Impact | The signals point to a credible but interaction-gated threat. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, base 8.7) describes a network-reachable, low-complexity flaw requiring no privileges but passive user interaction (UI:P) - the victim must be induced to open a crafted x-man-page: URL in iTerm2, which yields high confidentiality, integrity and availability impact via arbitrary command execution as the logged-in user. No EPSS score was provided, so statistical exploitation probability cannot be quantified. KEV status is not listed (treat as not in CISA KEV): there is no confirmation of active exploitation. The references are vendor patch commits and a downloads page, not exploit code, so no public exploit is identified. The decision label is 'this_week' rather than act_now/emergency, consistent with a serious issue that is not yet under active exploitation. The strongest aggravating factor is that MITRE explicitly flags this as an incomplete fix for CVE-2023-46321, meaning a prior patch-bypass pattern exists and the technique (percent-encoded NUL surviving sanitization) is documented in the public record, lowering the research barrier even absent a published PoC. Net: a real, patch-this-week priority for macOS developer fleets, but not an emergency; the user-interaction requirement meaningfully constrains mass, unattended exploitation. |
| Exploit ScenarioDerived | An attacker crafts a malicious x-man-page: URL embedding a percent-encoded NUL that survives sanitization and is parsed as whitespace, injecting an extra -P argument to /usr/bin/man that points man at an attacker-controlled pager command. The victim is lured (phishing link, malicious webpage, chat message) into opening the URL in iTerm2, and the injected pager executes arbitrary commands with the user's privileges. No public exploit code is identified at time of analysis, though the technique is documented as a bypass of the CVE-2023-46321 fix. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Argument injection in iTerm2's x-man-page: URL handler on macOS allows an attacker to execute arbitrary commands with the logged-in user's privileges by enticing the user to open a crafted URL; every build prior to 3.7.7beta2 is affected. The flaw is a residual bypass of the earlier CVE-2023-46321 fix: a percent-encoded NUL survives iTerm2's URL input sanitization and is later converted to whitespace during command-line parsing, permitting an extra -P argument to be smuggled into /usr/bin/man so that an attacker-chosen pager command runs. No authentication is required, but exploitation is interaction-gated - the victim must open the malicious link inside iTerm2 - and no public exploit code has been identified at time of analysis.
RemediationAI
Upgrade iTerm2 to 3.7.7beta2 or later from https://iterm2.com/downloads.html, which contains the complete fix for the percent-encoded NUL argument injection; the relevant changes are visible in commits f29420ae4d3e0f986ee24ea286885d32af58175a and 314ba43920dbce08808c032e89966918090bdf8e. Prioritize the update on developer and administrator workstations where iTerm2 handles x-man-page: links and where the logged-in user holds elevated credentials, since successful exploitation yields that user's full privileges. Because the vulnerable path is reached only when the user opens a crafted URL, users who cannot update immediately should be told to treat unexpected x-man-page: links from email or chat as suspicious; note that the vendor's fix is the only complete resolution described in the available sources, and no alternative workaround is documented there.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a CWE-88 (improper neutralization of argument delimiters) flaw in a macOS terminal emulator's custom URL scheme handling. iTerm2 registers the x-man-page: scheme and translates the URL payload into a command line invoking /usr/bin/man; the sanitization step strips or escapes characters but does not neutralize percent-encoded NUL bytes, which then resolve to whitespace when the argument vector is parsed. That whitespace boundary lets the attacker terminate the intended man-page argument and append a new one, specifically -P, which tells man to use an arbitrary pager - effectively arbitrary command execution in the user's context. Because the vulnerable component is the URI handler rather than the terminal's pty or remote-connection code (CPE cpe:2.3:a:iterm2:iterm2 covering all versions before 3.7.7beta2), exposure is limited to users who have iTerm2 installed and its handler registered, and to links delivered via web, email, or chat that the user chooses to activate. The description explicitly notes this is an incomplete fix for CVE-2023-46321, indicating that the prior hardening addressed other delimiter-injection variants but not the percent-encoded NUL path.
Know when Iterm2 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-delivered URL (AV:N) needing no privileges (PR:N) but requiring the victim to open it (UI:R); argument injection yields full command execution as the user, so C/I/A:H.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-123014 poses a high-severity risk to organizations using iTerm2 on macOS, as a crafted URL can lead to arbitrary command execution with the user's privileges. With a CVSS score of 8.7 and no authentication required, a successful attack could result in data compromise or system takeover, impacting both individual users and broader business operations. Leadership should prioritize patching to mitigate potential financial and reputational damage.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
An issue was discovered in iTerm2 3.5.x before 3.5.2. Rated critical severity (CVSS 9.8), this vulnerability is remotely
iTerm2 before 3.4.20 allow (potentially remote) code execution because of mishandling of certain escape sequences relate
iTerm2 before 3.4.20 allow (potentially remote) code execution because of mishandling of certain escape sequences relate
A vulnerability exists in the way that iTerm2 integrates with tmux's control mode, which may allow an attacker to execut
iTerm2 3.x before 3.1.1 allows remote attackers to discover passwords by reading DNS queries. Rated high severity (CVSS
iTerm2 through 3.3.6 has potentially insufficient documentation about the presence of search history in com.googlecode.i
In iTerm2 before 3.5.2, the "Terminal may report window title" setting is not honored, and thus remote code execution mi
iTermSessionLauncher.m in iTerm2 before 3.5.0beta12 does not sanitize ssh hostnames in URLs. Rated critical severity (CV
iTermSessionLauncher.m in iTerm2 before 3.5.0beta12 does not sanitize paths in x-man-page URLs. Rated critical severity
iTerm2 before 3.4.18 mishandles a DECRQSS response. Rated critical severity (CVSS 9.8), this vulnerability is remotely e
Remote code execution in iTerm2 through version 3.6.9 allows local attackers to execute arbitrary code by displaying a s
iTerm2 3.5.6 through 3.5.10 before 3.5.11 sometimes allows remote attackers to obtain sensitive information from termina
EUVD-2026-117332
GHSA-9hxf-w2gf-j4wv
NVD
CVE.org
EPSS
VulDB
Exploit-DB