Skip to content
Threat Feed
critical threat

Authentication Bypass in GNU Inetutils Telnet Daemon (CVE-2026-24061)

An authentication bypass vulnerability in GNU Inetutils telnetd (CVE-2026-24061) allows unauthenticated remote attackers to gain root access via a malicious USER parameter.

CVE search metadata

CVE search record: CVE-2026-24061. Severity: critical. CVSS: 9.8. EPSS: 97.88%. KEV: no. Product: Inetutils (<= 2.7). Brief: Authentication Bypass in GNU Inetutils Telnet Daemon (CVE-2026-24061). Brief link: https://feed.craftedsignal.io/briefs/2026-09-cve-2026-24061-telnetd-auth-bypass/

CVE-2026-24061 is a critical authentication bypass vulnerability affecting the Telnet daemon (telnetd) included in GNU Inetutils versions 2.7 and earlier. An attacker can exploit this flaw by supplying a specially crafted command-line argument, specifically providing a malicious string such as "-f root" within the USER parameter during the connection initiation process. This vulnerability is particularly impactful on systems like Ubuntu 24.04, where the telnetd process improperly handles user-provided arguments, leading to an unauthenticated session being upgraded to root privileges. Given the ease of exploitation, which requires no authentication and minimal complexity, this vulnerability poses a high risk to any exposed legacy Telnet services. Defenders should treat this as a priority, given that functional proof-of-concept code is publicly available, enabling trivial remote code execution with administrative authority on affected Linux systems.

Attack Chain

  1. Attacker identifies a network-accessible host running a vulnerable version of the GNU Inetutils Telnet daemon.
  2. Attacker prepares the exploit by formatting the client-side connection request with a malicious USER parameter.
  3. Attacker executes the connection request: USER="-f root" telnet -a <target_ip>.
  4. The remote telnetd service accepts the connection and processes the crafted USER parameter during the authentication handshake.
  5. The service fails to validate the parameter, inadvertently executing the login process as the 'root' user.
  6. The session is established, providing the attacker with an interactive terminal with root-level permissions.
  7. Attacker proceeds to execute arbitrary commands, exfiltrate data, or install persistent backdoors on the compromised host.

Impact

Successful exploitation of CVE-2026-24061 results in full system compromise. An unauthenticated remote attacker gains administrative control over the affected machine. This can lead to total loss of confidentiality, integrity, and availability, including data theft, malware deployment, and service disruption. The risk is significant for any environment utilizing Telnet for legacy management, as documented exploitation has been observed against Ubuntu 24.04 environments.

Recommendation

  • Immediately audit network perimeter and internal infrastructure to identify and decommission any active Telnet services.
  • If Telnet is strictly required, ensure the Telnet daemon is updated to a patched version beyond GNU Inetutils 2.7.
  • Deploy network-based intrusion detection signatures to monitor for connection attempts containing the string "-f" or similar patterns in the initial telnet handshake parameters.
  • Implement strict firewall rules to restrict access to TCP port 23 to only authorized management workstations.
  • Use the Sigma rule provided below to monitor for suspicious process execution patterns related to telnet clients being used for exploitation.

Immediate actions

Inventory all systems running GNU Inetutils Telnet daemon

IT Operations 24h

Threat Hunt

Search network logs for connections on TCP port 23

T1133 high high confidence hunt now

Data: Firewall or Netflow logs

Mitigations

Disable and remove the Telnet daemon from all production systems

immediate IT Operations

CVE-2026-24061

Detection coverage 1

Detect Exploitation of CVE-2026-24061 - Malicious Telnet Client Usage

critical

Detects the use of a telnet client with a suspicious USER environment variable or flag pattern indicative of CVE-2026-24061 exploitation attempts.

sigma tactics: initial_access techniques: T1133 sources: process_creation, linux

Detection queries are available on the platform. Get full rules →