Unpatched netkit telnetd flaw can allow passwordless root login on Debian and Ubuntu
A researcher has disclosed CVE-2026-141380, a pre-authentication environment injection flaw in the Debian build of netkit telnetd that can lead to a root login without a password. No fixed package is available yet.
Get each new story by email
We will email you to confirm. Unsubscribe from any email. Privacy policy
What happened
On 2 December 2026 a researcher disclosed a flaw in the Debian patch series for netkit telnetd on the oss-security mailing list. The daemon accepts any environment variable a client marks as a user variable before login, bypassing its whitelist.
These variables are passed to the login program. Depending on how the daemon runs, an attacker who can also write a file or directory on the target can load a malicious library or skip authentication and log in as root.
The reporter rates the issue CVSS 9.8. The Debian security tracker lists current Debian releases as vulnerable with no fixed version. No exploitation in the wild has been reported.
What’s affected
- Debian telnetd and telnetd-ssl packages on Debian 12 bookworm, Debian 13 trixie, forky and sid
- Ubuntu 25.04 and 25.10, which ship the same source package, according to the reporter
- Kali Linux rolling
- Gentoo net-misc/netkit-telnetd
What to do
- 01Check Debian and Ubuntu hosts for the telnetd and telnetd-ssl packages
- 02Remove the packages or stop the telnet service until a fix is released
- 03Block TCP port 23 at the network edge
- 04Use SSH for remote administration instead of telnet
This report summarises public reporting and was checked against at least two sources before it was published. Even so, there is a very small possibility that a detail is incorrect or has changed since. If something here is wrong, tell us.
