{"id":"CVE-2026-123014","kind":"vulnerability","aliases":["CVE-2026-123014"],"related":[],"title":"iTerm2: crafted x-man-page URL runs commands as the logged-in user","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.","summary":"iTerm2 before 3.7.7beta2 mishandles the x-man-page: URL handler, so percent-encoded NUL characters survive sanitization and become whitespace, letting an attacker inject extra arguments into /usr/bin/man. Injecting the -P option selects an attacker-controlled pager command, which runs with the privileges of the logged-in user once the victim opens the crafted URL.","severity":"high","cvss":8.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["developer-workstations","iterm2","macos","other"],"not_affected_if":["iterm2-3.7.7beta2-or-later","no-iterm2-installed"],"how_to_check":"- Check the installed iTerm2 version in the About iTerm2 window or with `defaults read com.googlecode.iterm2 Version` (exact key unknown from sources)\n- Confirm whether the installed version is before `3.7.7beta2`","fix":"- iTerm2 `3.7.7beta2` (fixed version stated by the product range; earlier versions affected)","status":"open","published_at":"2026-11-05T06:17:07+00:00","first_seen_at":"2026-11-05T06:31:51+00:00","triaged_at":"2026-11-05T06:32:58+00:00","updated_at":"2026-11-05T06:32:58+00:00","category":"other","confidence":0.7,"triage":{"at":"2026-11-05T06:32:57Z","model":"claude-haiku-5-5","output":{"fix":"- iTerm2 `3.7.7beta2` (fixed version stated by the product range; earlier versions affected)","reach":"local","title":"iTerm2: crafted x-man-page URL runs commands as the logged-in user","impact":"high","summary":"iTerm2 before 3.7.7beta2 mishandles the x-man-page: URL handler, so percent-encoded NUL characters survive sanitization and become whitespace, letting an attacker inject extra arguments into /usr/bin/man. Injecting the -P option selects an attacker-controlled pager command, which runs with the privileges of the logged-in user once the victim opens the crafted URL.","audience":"developers","category":"other","nicknames":[],"who_cares":["macos","iterm2","developer-workstations"],"confidence":0.7,"fix_status":"available","needs_auth":"no","worst_case":"Attacker runs arbitrary commands as the logged-in user","analyst_note":"Confirm the macOS-specific version key and whether the incomplete fix for CVE-2023-46321 was fully addressed in 3.7.7beta2 via the iTerm2 release notes.","how_to_check":"- Check the installed iTerm2 version in the About iTerm2 window or with `defaults read com.googlecode.iterm2 Version` (exact key unknown from sources)\n- Confirm whether the installed version is before `3.7.7beta2`","plain_action":"","needs_analyst":true,"not_affected_if":["iterm2-3.7.7beta2-or-later","no-iterm2-installed"],"who_is_affected":"Anyone running iTerm2 before 3.7.7beta2 on macOS is exposed when they open a crafted x-man-page: link in the terminal. The sources do not describe a server-side path, so teams with no iTerm2 installs on developer machines can skip it.","user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.000768,"input_tokens":4340,"output_tokens":668,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-123014':18A,21A '-2023':183C '-2026':17A,20A '-46321':184C '/usr/bin/man':57B,156C '3.7.7':29B,89C 'addit':153C 'allow':104C,150C 'arbitrari':109C 'argument':55B,93C,154C 'attack':52B,65B,106C,158C,168C 'attacker-control':64B,167C 'becom':48B 'beta2':30B,90C 'charact':44B,135C 'command':9A,68B,110C,147C,171C 'command-lin':146C 'control':66B,169C 'convert':142C 'craft':2A,85B,127C 'cve':16A,19A,182C 'develop':23B 'developer-workst':22B 'encod':42B,133C 'execut':108C 'exist':175C 'extra':54B 'fix':180C 'handler':38B,103C 'incomplet':179C 'induc':121C 'inject':53B,58B,94C,151C,160C 'input':137C 'issu':174C 'iterm2':1A,25B,27B,87C,130C 'let':50B 'line':148C 'log':13A,77B,117C 'logged-in':12A,76B,116C 'maco':26B 'man':5A,35B,100C 'mishandl':31B 'note':172C 'nul':43B,134C 'open':83B,125C 'option':61B,163C 'p':60B,162C 'page':6A,36B,101C 'pager':67B,170C 'pars':149C 'percent':41B,132C 'percent-encod':40B,131C 'privileg':73B,113C 'run':8A,70B 'sanit':46B,138C 'select':62B,165C 'subsequ':141C 'surviv':45B,136C 'url':7A,37B,86B,102C,128C 'user':15A,79B,119C,123C 'victim':82B 'vulner':95C 'whitespac':49B,144C 'workstat':24B 'x':4A,34B,99C 'x-man-pag':3A,33B,98C","nicknames":[],"mitigations":[],"who_affected":"Anyone running iTerm2 before 3.7.7beta2 on macOS is exposed when they open a crafted x-man-page: link in the terminal. The sources do not describe a server-side path, so teams with no iTerm2 installs on developer machines can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["developerworkstations","high","iterm2","macos","other"],"campaign_type":null,"first_public_at":"2026-11-05T06:17:07+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"cve@mitre.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-123014","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123014","severity":null,"published_at":"2026-11-05T06:17:07+00:00","modified_at":"2026-11-05T06:17:07+00:00","first_seen_at":"2026-11-05T06:31:51+00:00","fetched_at":"2026-11-05T06:31:51+00:00","note":null}],"documents":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}