


Perceptive Security
SOC/SIEM Consultancy

Critical GNU InetUtils telnetd Flaw Lets Attackers Bypass Login and Gain Root Access
Published:
22 januari 2026 om 16:30:00
Alert date:
22 januari 2026 om 17:02:17
Source:
thehackernews.com
Operating Systems, Zero-Day Vulnerabilities, Identity & Access
A critical vulnerability (CVE-2026-24061) has been discovered in GNU InetUtils telnet daemon that allows remote authentication bypass and root access. The flaw affects all versions from 1.9.3 to 2.7 and has a CVSS score of 9.8/10. The vulnerability went unnoticed for nearly 11 years before being disclosed. Attackers can exploit this flaw to bypass login mechanisms and gain root privileges on affected systems.
Technical details
The vulnerability allows remote authentication bypass via a '-f root' value for the USER environment variable. The telnetd server invokes /usr/bin/login passing the USER environment variable value as the last parameter without sanitization. When a client sends a crafted USER environment value of '-f root' using the telnet -a or --login parameter, the client automatically gains root access bypassing normal authentication because login(1) uses the -f parameter to bypass authentication. The vulnerability was introduced in a source code commit made on March 19, 2015.
Mitigation steps:
Apply the latest patches, restrict network access to the telnet port to trusted clients only, disable telnetd server as temporary workaround, or configure InetUtils telnetd to use a custom login(1) tool that does not permit use of the '-f' parameter
Affected products:
GNU InetUtils telnet daemon (telnetd) versions 1.9.3 through 2.7
Related links:
https://linux.die.net/man/8/telnetd
https://nvd.nist.gov/vuln/detail/CVE-2026-24061
https://seclists.org/oss-sec/2026/q1/89
https://codeberg.org/inetutils/inetutils/commit/fa3245ac8c288b87139a0da8249d0a408c4dfb87
https://viz.greynoise.io/tags/inetutils-telnetd--f-auth-bypass-attempt?days=1
https://viz.greynoise.io/query/tags:%22Inetutils%20Telnetd%20-f%20Auth%20Bypass%20Attempt%22%20last_seen:1d
Related CVE's:
Related threat actors:
IOC's:
21 unique IP addresses from Hong Kong, U.S., Japan, Netherlands, China, Germany, Singapore, and Thailand attempting remote authentication bypass attacks
This article was created with the assistance of AI technology by Perceptive.
