cybersecuritynews.comยท23 november 2026
iTerm2 Remote Code Execution Flaw Lets Hackers Run Malicious Commands by Displaying Crafted Files

command execution
escape sequences
iTerm2
Kitty graphics protocol
logic bug
MacOS
Minseong Kim
NSHC Red Alert Labs
pseudoterminal
remote code execution
security controls
security flaw
security update
shell input
terminal emulator
cybersecuritynews.com
A security flaw in iTerm2, a macOS terminal emulator, allows attackers to run commands when a user displays a specially crafted file. The bug affects versions 3.6.1 through 3.7.8 and is fixed in version 3.7.9, released on November 20, 2026. The flaw stems from iTerm2's handling of the Kitty graphics protocol, which can execute embedded instructions. Users should update to the latest version and avoid printing raw contents from unfamiliar sources in iTerm2.