Skip to main content
Mallory
UnratedVulnerability

CVE-2026-141380: Pre-authentication environment-variable injection in Netkit Telnet

Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days21 mentions · peak 15 in a dayToday
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-141380CWE-15

CVE-2026-141380 is a pre-authentication environment-variable injection vulnerability in Netkit telnetd implementations incorporating Debian's ACCEPT_USERVAR changes. During NEW-ENVIRON negotiation, suboption() accepts variables if either envvarok() approves them or the client-controlled is_uservar flag is set, allowing unauthenticated clients to bypass the environment allowlist. The variables enter the daemon environment before startslave() forks the login child and are subsequently forwarded through the privileged telnetlogin wrapper to the system login program. With an attacker-controlled file already present on the target, this can enable root code execution or passwordless root login. Identified affected packages include Debian's Netkit-based telnetd and telnetd-ssl from source package telnet version 0.17-42 and earlier, Ubuntu and Kali derivatives, and Gentoo's net-misc/netkit-telnetd.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise confidentiality, integrity, and availability through root-level code execution or authentication bypass. A root-run daemon can pass an injected preload setting to the login process, executing attacker-controlled code before authentication. A separate path involving util-linux login 2.40 or later can bypass normal authentication even when telnetd runs under an unprivileged account. Both demonstrated compromise paths require an attacker-controlled file on the target; network exposure alone is insufficient. Injected environment variables are confined to the individual connection's daemon process rather than contaminating subsequent independent sessions. Successful testing was reported, but exploitation in the wild was not established.

Mitigation

If you can’t patch tonight, do this now.

Disable unnecessary Telnet services and use SSH for remote administration. Where Telnet must remain enabled, restrict access to trusted management hosts and block untrusted access to its listening port, normally TCP 23. Running telnetd under an unprivileged account blocks the disclosed root-daemon preload route but does not prevent the util-linux login authentication-bypass route. Restrict untrusted file creation and address arbitrary-file-write vulnerabilities that could satisfy the exploitation prerequisite. Strong passwords do not prevent the disclosed authentication bypass.

Remediation

Patch, then assume compromise.

No released fixed package version is identified in the available information. Proposed code fixes are to remove the '|| is_uservar' allowlist bypass, disable ACCEPT_USERVAR entirely, or enforce a strict environment allowlist in telnetlogin before invoking the system login program. These proposals should not be treated as released vendor patches. Apply a distribution security update when available, verifying that it explicitly addresses CVE-2026-141380 for the installed Netkit package. Updates addressing CVE-2026-28372 in GNU Inetutils do not remediate this Netkit vulnerability.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-141380 exploited in the wild?
As of Dec 3, 2026, Mallory has no reports of CVE-2026-141380 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-141380?
As of Dec 3, 2026, Mallory has found no public exploit for CVE-2026-141380.
Is there a patch for CVE-2026-141380?
No released fixed package version is identified in the available information. Proposed code fixes are to remove the '|| is_uservar' allowlist bypass, disable ACCEPT_USERVAR entirely, or enforce a strict environment allowlist in telnetlogin before invoking the system login program.
Activity feed

Recent activity

21 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
cyber security newsNews · Dec 3, 2026Critical Telnet Flaw Lets Hackers Gain Root Access to Ubuntu and Kali Linux Without PasswordsA critical Netkit telnetd vulnerability introduced by a Debian patch allows client-controlled environment variables to reach the privileged login program before authentication. One exploitation path permits root code execution when Telnet runs as root; another bypasses login checks with util-linux 2.40 or later. Both require network access to the vulnerable server and the ability to write a file on the target. The researcher assigned CVSS 3.1 severity 9.8 to the root code-execution path and demonstrated passwordless root access on Debian 13, Ubuntu 25.04 and 25.10, and Kali Linux Rolling. The report describes successful tests rather than confirmed attacks in the wild. Recommended mitigations include disabling Telnet, using SSH, and restricting access to trusted management hosts.Read more ↗cryptika blogNews · Dec 3, 2026Critical Telnet Flaw Lets Hackers Gain Root Access to Ubuntu and Kali Linux Without Passwords | Cryptika CybersecurityA critical Netkit telnetd flaw caused by inadequate validation of client-supplied environment variables introduced by a Debian patch. Exploitation requires access to the vulnerable Telnet service and the ability to write a file on the target. Depending on service privileges and the login implementation, attackers can execute code as root or bypass authentication. The researcher reported successful tests and assigned CVSS 3.1 severity of 9.8 to the root code-execution path; no attacks in the wild were confirmed. Recommended mitigations include disabling Telnet, using SSH, and restricting access to trusted management hosts.Read more ↗aws alasNews · Dec 2, 2026CVE-2026-141380A critical telnet vulnerability allows an unauthenticated remote attacker to bypass environment variable validation during initial session negotiation. Injected variables are inherited by child authentication processes, potentially enabling privilege escalation or arbitrary command execution. The listed CVSS v3.1 score is 9.8. The advisory marks the listed Amazon Linux telnet and perl-Net-Telnet packages as not affected.Read more ↗tenable nessus pluginsNews · Dec 2, 2026Linux Distros Unpatched Vulnerability : CVE-2026-141380 | Tenable®An unpatched vulnerability associated with the netkit-telnet-ssl package on Debian Linux. The listed CVSS v3 vector indicates network-based exploitation without authentication or user interaction, with high confidentiality, integrity, and availability impacts. No technical root cause is provided.Read more ↗
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity17Community discussion across Reddit, Mastodon, and other social sources.