iTerm2 Remote Code Execution Flaw Lets Hackers Run Malicious Commands by Displaying Crafted Files
iTerm2 RCE flaw allows command execution by displaying crafted files.
A security flaw in iTerm2, a macOS terminal emulator, allows attackers to run commands when a user displays a specially crafted file. The vulnerability, affecting versions 3.6.1 through 3.7.8, is triggered by simply printing the file's contents, not by running it as a script. The developer has fixed the issue in iTerm2 3.7.9.
AI summary of the linked source. Not reviewed by an editor. How this works
Run NSHC Red Alert Labs?
Get an email when a new story names NSHC Red Alert Labs, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonA critical remote code execution vulnerability in iTerm2 (versions 3.6.1–3.7.8) allows attackers to run arbitrary commands simply by having a user display a specially crafted file in the terminal — no script execution required. This is particularly dangerous because developers and system administrators, who are high-value targets, commonly use iTerm2 as their primary terminal emulator. The flaw highlights how even trusted, widely-used developer tools can carry severe security risks that require prompt patching. The fix is available in iTerm2 3.7.9, making rapid upgrade deployment essential for any affected user.
What helps against this
How we list vendors- Endpoint detection and response (EDR and XDR)
Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.
- Security awareness training and phishing simulation
People recognise and report attacks instead of falling for them.