Exploited vulnerability

GNU Inetutils telnetd Authentication Bypass (CVE-2026-24061)

A critical authentication bypass in the telnetd server of GNU Inetutils 1.9.3 through 2.7.

  • On CISA KEV
CVE ID
CVE-2026-24061
CVSS
9.8 Critical (CVSS v3.1, MITRE as CNA; NVD shows the same score); no CVSS 4.0 score in the record or NVD
CISA KEV
Listed
Affected product
GNU Inetutils telnetd 1.9.3 to 2.7
Exploited
Yes
Published
20 January 2026 (GNU advisory); CVE record 21 January 2026; CISA KEV 26 January 2026

In short

CVE-2026-24061 is a critical authentication bypass in the telnetd server of GNU Inetutils 1.9.3 through 2.7. A client that sets the USER variable to "-f root" is logged in as root without a password. MITRE rates it CVSS 3.1 9.8, and CISA lists it in KEV.

Profile MapVulnerability
  1. CVECVE-2026-24061
  2. ProductGNU GNU Inetutils telnetd 1.9.3 to 2.7
  3. CISA KEVListedKnown Exploited Vulnerabilities
  4. ExploitedYesin real attacks
  5. Fix Steps5actions listedTurn Off telnetd · Install a Patched Package

What it allows

The CVE record says telnetd in GNU Inetutils through version 2.7 allows remote authentication bypass via a "-f root" value for the USER environment variable. A remote attacker who can reach the telnet service can log in as root without a password. MITRE rates it CVSS 3.1 9.8 Critical, and the weakness is argument injection (CWE-88).

How the Bypass Works

GNU Inetutils maintainer Simon Josefsson published the advisory on 20 January 2026. It says telnetd runs /usr/bin/login, normally as root, and passes the client's USER value to it as the last parameter. The server does not sanitize that value.

The login program treats the -f option as "this user is already authenticated". A client that sets USER to "-f root" and connects with telnet's -a option is therefore logged in as root. The advisory shows a root shell on a test machine with telnetd enabled through inetd.

The advisory credits Kyu Neushwaistein, also known as Carlos Cortes Alvarez, who reported it on 19 January 2026. Paul Eggert wrote the first patch, and Josefsson extended it. It adds that other expanded variables may have similar problems, so the fix sanitizes all of them.

How Long the Bug Existed

The advisory says the bug came from a commit dated 19 March 2015. It first shipped in Inetutils 1.9.3, released on 12 May 2015. Every release from 1.9.3 up to and including 2.7 is affected, which is more than ten years of releases.

Exploitation and Public Tools

CISA added the flaw to KEV on 26 January 2026, with a due date of 16 February. NVD carries a CISA coordinator entry from 27 January that records exploitation as active, automatable as yes and technical impact as total. CISA lists ransomware use as unknown.

GreyNoise, a threat intelligence company, published its own honeypot data on 22 January 2026. It reports 60 sessions from 18 source IP addresses between 21 January 07:19 and 22 January 04:08. GreyNoise says most sessions tried to log in as root, and one source ran reconnaissance commands.

Exploit signals
  • CISA KEVYesAdded 26 January 2026, due date 16 February, ransomware use listed as unknown4 Nov
  • CISA SSVC in NVDYesExploitation active, automatable yes, technical impact total27 Jan
  • GreyNoise honeypotYes60 sessions from 18 source IPs on 21 and 22 January 2026, as GreyNoise reports22 Jan
  • GitHub repositoriesYes73 repositories match the CVE id; the earliest 2026 one is a Docker lab created 21 January, and many others describe scanners or exploit scripts4 Nov
  • Brandefense BlackholeYes12 posts mention the CVE id between 6 June and 8 October 2026, 10 of them on Telegram4 Nov
Verdict Listed in CISA KEV since 26 January 2026; public exploit tools are widespread

We read repository descriptions only and ran no code. They describe batch scanners, proofs of concept and lab setups, and what the authors claim is unverified. We link none of them. See our entry on known exploited vulnerabilities for what KEV listing means.

Who is affected

The CVE record and the advisory both give one affected range: GNU Inetutils from 1.9.3 up to and including 2.7. NVD matches the same range and also lists Debian 11 in its configuration. The record states no other product.

The advisory names no fixed release number. It points to two commits, fd702c02497b2f398e739e3119bed0b23dd7aa7b and ccba9f748aa8d50a38d7748e2e60362edd6a32cc, and says upgrading to a release that includes them also works. Check your distribution's package changelog for the CVE id rather than relying on the version string.

The advisory's example runs telnetd through inetd. In our reading, a host that never installed or enabled the Inetutils telnet server is not exposed through this bug. The record does not say which Linux distributions ship a vulnerable build, so we recommend asking your vendor.

Because the flaw sits in a network login service, it is the kind of internet-facing exposure our guide to defending against exploited vulnerabilities covers. Use it to plan the order of your fixes.

Timeline

  1. 19 Mar 2015

    The commit that introduced the bug, per the GNU advisory.

  2. 12 May 2015

    Inetutils 1.9.3, the first release with the bug, is published.

  3. 19 Jan 2026

    Kyu Neushwaistein reports the flaw.

  4. 20 Jan 2026

    Simon Josefsson publishes the GNU advisory with patch commits.

  5. 21 Jan 2026

    The CVE record is published. GreyNoise's first honeypot session is at 07:19.

  6. 26 Jan 2026

    CISA adds the CVE to KEV with a due date of 16 February.

  7. 27 Jan 2026

    CISA's SSVC entry in NVD records exploitation as active.

What to do

  1. Turn Off telnetd

    The advisory says not to run a telnetd server at all. Disable the service on every host that does not need it, and use SSH instead.

  2. Restrict Access to the Telnet Port

    If telnet must stay, the advisory says to limit access to the port to trusted clients. Block port 23 at the network edge.

  3. Install a Patched Package

    Update Inetutils to a build that includes the two sanitizing commits named in the advisory. Check your distribution's changelog for CVE-2026-24061.

  4. Use a Login Tool That Rejects -f

    As a workaround the advisory suggests a custom login(1) tool that does not accept the -f parameter.

  5. Check for Past Root Logins

    Review authentication logs for telnet sessions that reached root without a password prompt. CISA lists the flaw in KEV, so treat an exposed host as possibly compromised.

Questions

Is CVE-2026-24061 exploited?

CISA lists it in KEV since 26 January 2026, and its SSVC entry in NVD records exploitation as active. GreyNoise reports 60 sessions from 18 source IPs against its honeypots on 21 and 22 January.

Does the attacker need a password?

No. The advisory says a client that sets USER to "-f root" and uses telnet's -a option is logged in as root, bypassing normal authentication.

Which release fixes it?

The advisory names no release number. It points to two patch commits and says to upgrade to a release that includes them, so check your distribution's package changelog.

Why was it missed for so long?

The advisory dates the bug to a commit of 19 March 2015, shipped in 1.9.3 that May. It does not say why it went unnoticed.

In our research

  1. Known Exploited Vulnerabilities (KEV) catalog Glossary term

Sources

  1. Remote authentication bypass in telnetd (advisory) GNU Inetutils, oss-security
  2. Remote authentication bypass in telnetd GNU bug-inetutils mailing list
  3. CVE-2026-24061 Record CVE Program / MITRE
  4. CVE-2026-24061 NVD
  5. Known Exploited Vulnerabilities Catalog CISA
  6. F around and find out: 18 hours of unsolicited houseguests GreyNoise Labs