gbhackers.comยท3 december 2026

Critical Telnetd Vulnerability Allows Hackers to Execute Remote Code With Root Privileges

Image for the article: Critical Telnetd Vulnerability Allows Hackers to Execute Remote Code With Root Privileges
Image via gbhackers.com

A critical pre-authentication vulnerability (CVE-2026-141380) in netkit telnetd allows remote attackers to inject environment variables and gain root access on affected Linux systems, including Debian, Ubuntu, Kali, and Gentoo. The flaw, with a CVSS 3.1 score of 9.8, stems from the ACCEPT_USERVAR flag in Debian's patch series, bypassing environment variable whitelists. Researchers confirmed exploitation on multiple distributions, with fixes suggested to revert the flag or enforce variable whitelists. Administrators are urged to disable telnetd and switch to SSH to mitigate risks.