Skip to main content

iTerm2 CVE-2026-123014

| EUVDEUVD-2026-117332 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-11-05 mitre GHSA-9hxf-w2gf-j4wv
8.7
CVSS 4.0 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted x-man-page: URL to victim
  2. Delivery
    User opens URL in iTerm2
  3. Exploit
    NUL survives sanitization, parsed as whitespace
  4. Execution
    Inject -P pager argument to /usr/bin/man
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

iTerm2 0 <3.7.7beta2

Affected Packages

euvd iterm2 fix: 3.7.7beta2

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

Vendor (mitre) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Medium
popular macOS-only terminal emulator, large developer userbase but not universal
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Iterm2

View all
CVE-2024-38396 CRITICAL POC
9.8 Jun 16

An issue was discovered in iTerm2 3.5.x before 3.5.2. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2023-46301 CRITICAL POC
9.8 Oct 22

iTerm2 before 3.4.20 allow (potentially remote) code execution because of mishandling of certain escape sequences relate

CVE-2023-46300 CRITICAL POC
9.8 Oct 22

iTerm2 before 3.4.20 allow (potentially remote) code execution because of mishandling of certain escape sequences relate

CVE-2019-9535 CRITICAL POC
9.8 Oct 09

A vulnerability exists in the way that iTerm2 integrates with tmux's control mode, which may allow an attacker to execut

CVE-2015-9231 HIGH POC
7.5 Sep 20

iTerm2 3.x before 3.1.1 allows remote attackers to discover passwords by reading DNS queries. Rated high severity (CVSS

CVE-2019-19022 HIGH POC
7.5 Nov 17

iTerm2 through 3.3.6 has potentially insufficient documentation about the presence of search history in com.googlecode.i

CVE-2024-38395 CRITICAL
9.8 Jun 16

In iTerm2 before 3.5.2, the "Terminal may report window title" setting is not honored, and thus remote code execution mi

CVE-2023-46322 CRITICAL
9.8 Oct 23

iTermSessionLauncher.m in iTerm2 before 3.5.0beta12 does not sanitize ssh hostnames in URLs. Rated critical severity (CV

CVE-2023-46321 CRITICAL
9.8 Oct 23

iTermSessionLauncher.m in iTerm2 before 3.5.0beta12 does not sanitize paths in x-man-page URLs. Rated critical severity

CVE-2022-45872 CRITICAL
9.8 Nov 23

iTerm2 before 3.4.18 mishandles a DECRQSS response. Rated critical severity (CVSS 9.8), this vulnerability is remotely e

CVE-2026-41253 MEDIUM
6.9 Apr 18

Remote code execution in iTerm2 through version 3.6.9 allows local attackers to execute arbitrary code by displaying a s

CVE-2025-22275 CRITICAL
9.3 Jan 03

iTerm2 3.5.6 through 3.5.10 before 3.5.11 sometimes allows remote attackers to obtain sensitive information from termina

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy