Notice Score pending
iTerm2 Kitty Image Protocol flaw allows remote code execution
Printing a malicious file in a Mac terminal can get your PC hacked.
Mitigation
Update iTerm2 to 3.7.9 or later.
Summary
iTerm2's Kitty image protocol error response writes newlines from a crafted file path into the shell, so commands can run. All versions with Kitty Image Protocol support are affected under default settings.
Exploit code is public
Affected when
- iTerm2 versions with Kitty Image Protocol support
- Default installation with no settings changed
Incidents by product: iTerm2
Other recent Incidents of iTerm2