this post was submitted on 09 Nov 2026
169 points (96.2% liked)

Programmer Humor

44080 readers
29 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 7 years ago
MODERATORS
 

Terminal2Shell is a design-level vulnerability in terminal emulators. When a terminal is launched, it immediately spawns a shell process and connects it directly to the user's keyboard. From there, the attacker can issue arbitrary commands with the full privileges of the logged-in user.

Researchers have confirmed that the shell will execute any command typed into it, including commands that delete files, install software, and modify system configuration. In some cases, the shell has been observed executing commands the user typed themselves.

Product Vector Status
macOS Terminal.app, iTerm2, Ghostty, Warp VULNERABLE
Linux gnome-terminal, Konsole, xterm, Ctrl+Alt+F2 VULNERABLE
Windows cmd.exe, PowerShell, Windows Terminal, WSL VULNERABLE
FreeBSD / OpenBSD Literally the default experience VULNERABLE
DEC VT100 (1978) Physical serial cable VULNERABLE
Your router SSH, telnet, the little console port on the back VULNERABLE
VS Code Ctrl+` (one keystroke!) VULNERABLE
Microsoft Paint None known Not affected
you are viewing a single comment's thread
view the rest of the comments
[–] data1701d@startrek.website 7 points 3 days ago* (last edited 3 days ago)

And it was discovered with an LLM by some "vibe coder" (please hold your nose while pronouncing) with curly blonde hair, empty blue eyes, a business degree, and horrible political opinions. In addition, he talks your ear off about the inevitable glorious agentic AI future and how nobody needs RAM and that all resources in the world should be used towards bringing this future to past, with his response to most arguments against him being something along the lines of "resistance is futile".