CVE-2026-123014

Argument Injection via x-man-page URL Handler in iTerm2

Published Nov 5, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

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.

Remediation

Vendor Solution

The maintainer confirms that the fix first shipped in iTerm2 3.7.7beta2 and will be included in the 3.7.7 stable release. The x-man-page: handler now validates manual-page sections and page names against an allowlist of characters. URLs containing NUL or other disallowed characters are rejected with a warning. Users should upgrade to a release containing this fix.


OpenCVE Recommended Actions

  • Install iTerm2 version 3.7.7 or newer, which includes the patch that validates URL input
  • If an upgrade cannot be performed immediately, disable the x‑man‑page: URL scheme in the application’s preferences to prevent processing of the vulnerable handler
  • Configure the system’s PAGER environment variable or otherwise restrict pager command usage to guard against abuse of the –P option

Generated by OpenCVE AI on November 5, 2026 at 06:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Argument Injection via x-man-page URL Handler in iTerm2
Type Values Removed Values Added
Description 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.
First Time appeared Iterm2
Iterm2 iterm2
Weaknesses CWE-88
CPEs cpe:2.3:a:iterm2:iterm2:*:*:*:*:*:*:*:*
Vendors & Products Iterm2
Iterm2 iterm2
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 10, 2026, 1:54 PM
Reserved
Nov 5, 2026, 5:25 AM
Status
Awaiting Analysis
Published
Nov 5, 2026, 6:17 AM
Modified
Nov 12, 2026, 10:09 PM