Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Linux

Advisory Analysis

Telnet Daemon Flaw CVE-2026-141380 Reportedly Allows Pre-Authentication Code Execution as Root

According to an oss-security report, CVE-2026-141380 is an environment variable injection flaw in netkit-based telnetd that an unauthenticated remote client can reportedly exploit to run code as root. Several Linux distributions are listed as affected.

LinuxOperating systemsVulnerabilities

Key points

  • CVE-2026-141380 is reportedly a pre-authentication remote flaw in netkit-based telnetd, scored 9.8 CVSS.
  • Debian telnetd and telnetd-ssl 0.17-42 and earlier, Ubuntu 25.04/25.10, Debian 13, Kali rolling, and Gentoo netkit-telnetd are named as affected.
  • Root impact depends on the daemon's privileges and on a writable file being present on the target.
  • The report does not state a fixed version or vendor patch.

What was reported

According to the oss-security post, CVE-2026-141380 is an environment variable injection flaw in the Telnet option negotiation process. The daemon accepts environment variables marked as USERVAR and bypasses a whitelist check. The report gives the issue a CVSS score of 9.8 and credits Liad with the analysis.

Who is affected

The report says Debian telnetd and telnetd-ssl versions 0.17-42 and earlier are affected. Debian 13 trixie, Ubuntu 25.04 and 25.10, and Kali rolling are confirmed vulnerable. Debian 11 bullseye is affected by the injection, but the login.noauth bypass applies only if util-linux is version 2.40 or higher. Gentoo's net-misc/netkit-telnetd is also listed because it uses the same patch series.

Why it matters

The report states that injected variables are passed to a child process that runs as root when the daemon has root privileges, which could let an attacker run code as root before authentication. If the daemon runs as a non-root user, the report says the telnetlogin process can be manipulated to bypass authentication. Exploitation reportedly requires write access to at least one file on the target. The report does not state a fixed version or an official patch.

For full technical detail, see the original oss-security post.

What to do

  1. Check whether telnetd or telnetd-ssl at version 0.17-42 or earlier is installed on Debian, Ubuntu, or Kali systems, and whether netkit-telnetd is present on Gentoo hosts.
  2. On Debian 11 or other systems running util-linux 2.40 or higher, check whether the login.noauth file exists.
  3. Review the original report's vendor guidance, which suggests reverting the recent modification, disabling the ACCEPT_USERVAR flag, or enforcing a whitelist for the environment passed to telnetlogin, and track vendor advisories for a fixed release.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

oss-securityseclists.org

“Pre-authentication environment injection in netkit telnetd - CVE-2026-141380”

Posted by liad levy on Dec 02 Hello, I am reporting a pre-authentication remote code execution via environment-injection vulnerability affects the netkit telnetd implementation used by Debian’s telnetd-ssl package. A remote unauthenticated client can inject arbitrary environment variables during Telnet option negotiation. Depending on the daemon’s privilege configuration and the presence of an at…

Also reported by

Vulnerabilities mentioned

More on this topic