cybersecuritynews.comยท23 november 2026

iTerm2 Remote Code Execution Flaw Lets Hackers Run Malicious Commands by Displaying Crafted Files

Image for the article: iTerm2 Remote Code Execution Flaw Lets Hackers Run Malicious Commands by Displaying Crafted Files
Image via 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.