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.
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.
- 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
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
- 19 Mar 2015
The commit that introduced the bug, per the GNU advisory.
- 12 May 2015
Inetutils 1.9.3, the first release with the bug, is published.
- 19 Jan 2026
Kyu Neushwaistein reports the flaw.
- 20 Jan 2026
Simon Josefsson publishes the GNU advisory with patch commits.
- 21 Jan 2026
The CVE record is published. GreyNoise's first honeypot session is at 07:19.
- 26 Jan 2026
CISA adds the CVE to KEV with a due date of 16 February.
- 27 Jan 2026
CISA's SSVC entry in NVD records exploitation as active.
What to do
-
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.
-
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.
-
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.
-
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.
-
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.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-24061 in Brandefense Atlas
The Atlas record of CVE-2026-24061: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked 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.
Sources
- Remote authentication bypass in telnetd (advisory)GNU Inetutils, oss-security
- Remote authentication bypass in telnetdGNU bug-inetutils mailing list
- CVE-2026-24061 RecordCVE Program / MITRE
- CVE-2026-24061NVD
- Known Exploited Vulnerabilities CatalogCISA
- F around and find out: 18 hours of unsolicited houseguestsGreyNoise Labs