Description
telnetd in GNU inetutils through 2.7 allows privilege escalation that can be exploited by abusing systemd service credentials support added to the login(1) implementation of util-linux in release 2.40. This is related to client control over the CREDENTIALS_DIRECTORY environment variable, and requires an unprivileged local user to create a login.noauth file.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GNU | inetutils | ≤ 2.7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | inetutils | 2:2.7-3 | — |
| Debian 13 | inetutils | 2:2.6-3+deb13u2 | DSA-6144-1 |
| Debian 12 | inetutils | 2:2.4-2+deb12u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | inetutils | 2:2.7-2ubuntu1.1 | USN-8387-1 |
| Ubuntu 25.10 | inetutils | 2:2.6-1ubuntu3.2 | USN-8387-1 |
| Ubuntu 24.04 LTS | inetutils | 2:2.5-3ubuntu4.2 | USN-8387-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | inetutils | 2:2.2-2ubuntu0.2+esm1 | USN-8387-1 |
| Ubuntu Pro 20.04 LTS | inetutils | 2:1.9.4-11ubuntu0.2+esm4 | USN-8387-1 |
| Ubuntu Pro 18.04 LTS | inetutils | 2:1.9.4-3ubuntu0.1+esm5 | USN-8387-1 |
| Ubuntu Pro 16.04 LTS | inetutils | 2:1.9.4-1ubuntu0.1~esm6 | USN-8387-1 |
| Ubuntu Pro 14.04 LTS | inetutils | 2:1.9.2-1ubuntu0.1~esm4 | USN-8387-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | inetutils-telnet | 2.8-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
Rohitberiwala/CVE-2026-28372-telnetd-Privilege-Escalation ★ 1 · Mar 7, 2026
This Proof‑of‑Concept demonstrates a **Local Privilege Escalation** vulnerability in GNU inetutils `telnetd`. `telnetd` improperly passes client‑controlled environment variables to `login(1)`. By set…
-
kalibb/CVE-2026-28372-GNU-inetutils-telnetd-Privilege-Escalation-main ★ 0 · Feb 28, 2026
-
mbanyamer/CVE-2026-28372-GNU-inetutils-telnetd-Privilege-Escalation ★ 0 · Feb 27, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- USN-8387-1 inetutils vulnerabilities Ubuntu Security Notices (USN) · Jun 8, 2026
- WID-SEC-2026-0550 InetUtils (telnetd): Schwachstelle ermöglicht Privilegieneskalation BSI CERT-Bund (WID) · Jun 8, 2026
- DSA-6144-1 inetutils - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://lists.gnu.org/archive/html/bug-inetutils/2026-02/msg00000.html
- https://git.hadrons.org/cgit/debian/pkgs/inetutils.git/commit/?id=3953943d8296310485f98963883a798545ab9a6c
- https://lists.gnu.org/archive/html/bug-inetutils/2026-02/msg00012.html
- https://www.openwall.com/lists/oss-security/2026/02/24/1