lol seclists.org/oss-sec/2026/q1/8…
telnetd server invokes /usr/bin/login (normally running as root) passing the value of the USER environment variable received from the client as the last parameter.
If the client supply a carefully crafted USER environment value being the string "-f root", and passes the telnet(1) -a or --login parameter to send this USER environment to the server, the client will be automatically logged in as root bypassing normal authentication processes
In telnetd for a decade 💀

Hubert Figuière
in reply to Kevin Beaumont • • •that remind me of an AIX bug in 1995. `rlogin -f root` and voila.
Fuck I'm old too.