Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2026-24061: Remote Root Authentication Bypass in GNU Inetutils telnetd

Published Jan 21, 2026 · Updated 26 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS46.2%99th percentile
CISA KEVYesAdded Jan 26, 2026
In the wildActivePer CISA KEV
Vendors
Debian ProjectGNU Project
IdentifiersCVE-2026-24061CWE-88 · Improper Neutralization of…

CVE-2026-24061 is an argument injection vulnerability affecting GNU Inetutils telnetd versions 1.9.3 through 2.7. The daemon incorporates the client-controlled USER environment variable into arguments supplied to the system login utility without adequate validation. An unauthenticated client can transmit the value "-f root" using Telnet NEW-ENVIRON negotiation, causing login to interpret the supplied value as a forced-login option rather than an account name. When invoked with sufficient privileges, login bypasses password authentication and provides an interactive root shell. The vulnerability has a reported CVSS score of 9.8 and has been actively exploited.

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 permits complete compromise of an affected host through unauthenticated root access. An attacker can execute arbitrary commands, read or modify sensitive data, alter security controls, install persistent access, and disrupt services. The compromised host can also support credential theft and lateral movement. A service restricted to loopback can still expose a local privilege-escalation path to users or processes able to connect to it.

Mitigation

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

Disable telnetd until a fixed build can be deployed. If the service must remain available, restrict its listening ports through host and network firewalls to trusted management networks and authenticated jump hosts, and isolate Telnet-dependent systems through segmentation. A modified login utility that disallows the forced-login option is an additional interim workaround. Monitor Telnet NEW-ENVIRON negotiation for USER values beginning with a hyphen, login process arguments containing forced-authentication options, and root sessions lacking corresponding authentication activity. Network restrictions reduce exposure but do not protect against attackers already able to reach the service.

Remediation

Patch, then assume compromise.

Upgrade to GNU Inetutils 2.8 or later, or install a distribution-maintained package containing the backported CVE-2026-24061 fix. For Alpine Linux, update inetutils-telnet and related packages to 2.8-r0 or later. The upstream correction rejects client-supplied USER values beginning with a hyphen before invoking login. Where packaged updates are unavailable, apply the official upstream telnetd patch and rebuild. Retire unnecessary Telnet services and replace required remote administration with SSH.

Public exploits

Exploits

62 exploits validated by Mallory's analysis. Hidden: 35 rejected by Mallory's analysis as not a working exploit; 3 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.

View more in app →
Terrminus-CVE-2026-2406Repository purpose: a Python 3.10+ Telnet scanner and exploitation framework for CVE-2026-24061 (Telnet NEW_ENVIRON USER variable injection leading to authentication bypass and potential root access). Core exploit capability: - Implements Telnet option negotiation and NEW_ENVIRON subnegotiation. - Exploit path (terminus/core/terminus_engine.py:TerminusNegotiator.exploit): sends a crafted NEW_ENVIRON IS VAR USER VALUE <payload> sequence (default payload "-f root"), then checks for absence of login/password prompts to infer auth bypass, and runs `id` to confirm root (uid=0/root). - Exploiter wrapper (terminus/core/exploit.py:TerminusExploiter) enforces safety controls: explicit authorization required and (by default) single-target-only exploitation; supports evidence collection and an interactive telnet shell mode. Scanning/detection: - High-concurrency async scanner (terminus/core/scanner.py) with rate limiting (TokenBucket), retries/backoff, and optional active verification. - Fingerprinting (terminus/detection/fingerprint.py) parses banners and can also infer daemon type from telnet option negotiation sequences. - Heuristics (terminus/detection/heuristics.py) provide non-destructive probing of NEW_ENVIRON support/USER var acceptance and risk scoring. - Signature DB (signatures.db + terminus/detection/signatures.py) encodes vulnerable version patterns and exploitation metadata for CVE-2026-24061. Reporting/CLI: - CLI entry point: `terminus` script -> terminus/cli.py:main; module entry: terminus/__main__.py. - Outputs: terminal tables (rich), JSON/CSV/HTML/Markdown reports using Jinja2 templates (terminus/reporting/*). - Helper scripts: terminus_helper.sh and terminus_helper.ps1 provide convenience wrappers and shell completion setup. Notable endpoints/targets: - Network target is generic: user-supplied hosts/IPs, default TCP port 23. - No hardcoded C2 or exfil endpoints observed; only reference URLs in signatures/license and local output paths (logs/reports/signatures.db). Overall structure: - terminus/core/: telnet protocol parsing/state machine, handshake/exploit negotiator, scanner, exploiter. - terminus/detection/: banner fingerprinting, heuristic probing, signature database loader. - terminus/reporting/: formatters, pydantic models, HTML/MD templates. - terminus/utils/: config loading (config.yaml), logging, target parsing (CIDR/ranges/DNS resolution). - tests/: extensive unit/integration tests covering exploit, protocol parsing, scanner behavior, reporting, and utilities.hyu164 · Disclosed Apr 16, 2025 · python · bash · networkWeaponizedCVE-2026-24061-POCRepository contains a Python proof-of-concept exploit for an alleged GNU inetutils-telnetd authentication bypass (CVE-2026-24061) plus a Dockerfile to stand up a test target. Structure: - cve_2026_24061_telnetd.py: Main exploit. Implements a minimal telnet client that performs option negotiation and, when the server requests NEW_ENVIRON (option 39), sends a crafted subnegotiation setting environment variable USER to "-f <user>" (default root). The script then relays data between the user (interactive TTY or piped stdin) and the telnet socket, effectively providing an interactive session/command execution channel if the bypass succeeds. - Dockerfile.vulnerable: Builds an Ubuntu 20.04 container with inetutils-telnetd and xinetd, enables telnet service on TCP/23, sets root password to "toor", and adjusts /etc/securetty to permit root logins on pseudo-terminals. Intended for local testing. - README.md: Describes the vulnerability concept (NEW_ENVIRON USER value interpreted as a login flag like "-f root"), provides usage examples (including piping commands), and points to a GitHub releases page. Notable exploit behavior: - Network-only attack against a telnet service; no scanning/detection logic. - Handles telnet negotiations for TTYPE (24), TSPEED (32), and NEW_ENVIRON (39) and responds with basic values (xterm, 38400,38400). - Payload is fixed to the NEW_ENVIRON injection; user can choose target host, port, and username, but there is no modular payload framework. Overall purpose: provide an operational PoC that attempts to bypass telnetd authentication and obtain a remote session as a chosen user (default root), with a containerized environment to reproduce/test the issue.Good123321-bot · Disclosed Jul 3, 2025 · python · dockerfile · networkOperationalTell-Me-RootRepository contains a small Python tool intended for batch exploitation of a claimed Telnet remote authentication bypass (README references CVE-2026-24061). Structure: (1) `attack.py` is the sole code file and entry point; it reads targets from `ip_list.txt` (or a user-supplied filename), supports `ip` and `ip:port` formats, and ignores `#` comments. (2) Before attempting exploitation it performs a TCP reachability check via `socket.create_connection` to avoid hanging on dead hosts. (3) For reachable targets it spawns a local Telnet client using `pexpect` with the command `env USER='-f root' telnet -a <ip> <port>`, then waits for prompts. If it sees `login:`, `Password:`, `Username:` or `I don't hear you!`, it treats the target as not immediately exploitable and skips. If it sees a shell-like prompt (`#` or `>`), it declares success and hands control to the operator via `child.interact()` for manual command execution. The tool is therefore an operational batch exploitation helper (not just detection) that aims to obtain an interactive Telnet session on vulnerable devices/services.parameciumzhang · Disclosed Jan 22, 2026 · python · networkOperationalCVE-2026-24061Repository purpose: a Go proof-of-concept exploit for CVE-2026-24061, described as a remote authentication bypass in GNU Inetutils telnetd via telnet NEW-ENVIRON/ENVIRON injection of the USER variable to coerce login(1) into executing `login -f root`. Structure: - poc.go: Main exploit. Dials a TCP telnet endpoint, performs telnet option negotiation (IAC DO/WILL/WONT/DONT) and subnegotiation (IAC SB ... IAC SE) for ENVIRON (36) and NEW-ENVIRON (39). It injects `USER=-f root` (hardcoded) using EnvIS/EnvVAR/EnvVALUE framing. It then checks for successful exploitation by (1) absence of login/password prompts and (2) observing server WILL ECHO (sets echoOK). It sends `id` to confirm shell access (expects `uid=`) and then provides an interactive shell loop that forwards stdin to the telnet session and prints parsed output. - Dockerfile: Builds a vulnerable lab environment on Ubuntu 20.04 by compiling GNU Inetutils 2.0 from source, configuring xinetd to run /usr/libexec/telnetd, creating test credentials, and exposing port 23. - docker-compose.yml: Runs the lab container and maps host port 2323 to container port 23. - README.md: Explains the vulnerability mechanics, affected versions (claimed 1.9.3–2.7), how to run the lab and PoC, and includes a manual exploitation hint using a telnet client with USER='-f root'. Main exploit capabilities: - Remote, unauthenticated authentication bypass against telnetd. - Achieves root shell over the same telnet TCP connection. - Interactive command execution (operator types commands; exploit relays them). Notable implementation details: - Hardcoded injected value: "-f root". - Telnet parsing strips/handles IAC sequences and responds to negotiation; tracks whether ENV/NEW-ENV was requested and whether WILL ECHO was received as a success signal.Chocapikk · Disclosed Jan 22, 2026 · go · dockerfile · networkOperationalCVE-2026-24061-POCRepository contains a Python proof-of-concept exploit for CVE-2026-24061 (GNU inetutils-telnetd < 2.6) plus a Dockerfile to stand up a vulnerable telnetd service for testing. Core exploit (cve_2026_24061_telnetd.py): - Implements a minimal telnet client that performs option negotiation and specifically targets the NEW_ENVIRON telnet option (option 39). - When the server requests NEW_ENVIRON (SEND), it sends a crafted subnegotiation that sets the environment variable USER to "-f <user>" (default "-f root"). - The README explains the vulnerability: telnetd passes USER from NEW_ENVIRON to /bin/login; when USER begins with "-f root", login interprets it as a command-line flag indicating pre-authenticated login, bypassing password checks. - After bypass, the script acts as an interactive session relay (TTY) or can execute commands piped via stdin (non-interactive), forwarding stdin to the socket and printing server output after stripping telnet negotiation bytes. Test environment (Dockerfile.vulnerable): - Builds Ubuntu 20.04 with inetutils-telnetd and xinetd, enables a telnet service, sets root password to "toor", and adjusts /etc/securetty to permit root on pseudo-terminals. Exposes TCP/23. Overall purpose: provide an operational network exploit that yields an unauthenticated shell (typically root) on vulnerable inetutils-telnetd instances by abusing telnet NEW_ENVIRON to inject a login flag via the USER environment variable.JayGLXR · Disclosed Jan 22, 2026 · python · dockerfile · networkOperationalCVE-2026-24061--telnetdRepository contains a small PoC + scanner for CVE-2026-24061 (inetutils-telnetd authentication bypass). Structure: (1) scan.py performs batch network checks against TCP/23 (or user-specified port) by spawning a local `telnet -a` client with `USER='-f root'`, looking for a shell prompt, then issuing `id` and confirming `uid=0(root)` to mark a host as vulnerable. (2) exploit.py performs the same bypass technique for a single target and hands control to the operator via `pexpect.interact()` to provide an interactive (root) shell if successful. (3) Dockerfile builds a local vulnerable test environment on Ubuntu 24.04 by installing inetutils-inetd/telnetd, enabling telnetd in /etc/inetd.conf, and exposing port 23. No C2 infrastructure or hardcoded external URLs/domains are present; the only network target is the user-supplied host/port for Telnet.yanxinwu946 · Disclosed Jan 22, 2026 · dockerfile · markdown · networkOperationalCVE-2026-24061Repository contains a single Python exploit script (telnet_rce.py) plus README/license/gitignore. The exploit targets CVE-2026-24061 in Telnet servers by abusing Telnet option NEW-ENVIRON (RFC 1572). It establishes a TCP connection to a user-supplied host (default port 23), participates in Telnet option negotiation, and when it observes a NEW-ENVIRON subnegotiation request it replies with a crafted environment message setting USER to a hardcoded malformed value ("-f root"). The script then provides an interactive Telnet session (stdin->socket) while a background thread reads server output, strips Telnet control sequences and ANSI escapes, and suppresses echoed command output using a newline-based state flag. No explicit reverse shell or command stager is implemented; exploitation is attempted implicitly via the environment-variable injection during negotiation.SafeBreach-Labs · Disclosed Jan 22, 2026 · python · network (Telnet/TCP)OperationalCVE-2026-24061Repository contains a small Python proof-of-concept exploit for CVE-2026-24061 with two files: README.md and exploit.py. exploit.py implements a Telnet client that connects to a user-supplied host/port over TCP, sets the socket non-blocking, and uses select() to multiplex between the socket and local stdin for an interactive session. It parses Telnet IAC negotiation sequences and responds to DO/WILL requests, explicitly supporting TTYPE, TSPEED, and NEW-ENVIRON options. Core exploit behavior: when the server initiates NEW-ENVIRON subnegotiation (IAC SB NEW-ENVIRON ...), the script sends a crafted NEW-ENVIRON IS payload that sets the environment variable USER to a malicious value containing "-f <user>" (default "root"). This appears intended to exploit a vulnerable Telnet server implementation that incorrectly interprets the USER value as command-line style arguments or otherwise uses it to select/impersonate a user. After sending the payload once, the script continues relaying server output to stdout and user input to the socket, acting as an interactive Telnet session. No additional infrastructure, callbacks, or secondary payloads are present; the only target endpoint is the provided TCP host:port.h3athen · Disclosed Jan 22, 2026 · python · networkOperationalAshwesker-CVE-2026-24061Repository contains a single Python proof-of-concept exploit (CVE-2026-24061.py) and a README. The exploit targets GNU Inetutils telnetd (claimed versions 1.9.3–2.7) over the network (telnet, default TCP/23). It uses telnetlib3 to open a telnet connection and sends a crafted Telnet ENVIRON subnegotiation that sets the USER environment variable to a malicious value of the form "-f<user>" (default "-froot"). This is intended to exploit improper sanitization/argument handling in the telnetd-to-login flow, bypassing authentication and yielding a shell session as the specified user. After sending the payload, it checks the server response for login/password prompts; if absent, it assumes success and enters an interactive loop that sends user-typed commands and prints returned output. No additional modules, staging, or persistence are present; the main capability is unauthenticated remote auth bypass leading to interactive command execution via the telnet session.Ashwesker · Disclosed Jan 23, 2026 · python · markdown · networkOperationalCVE-2026-24061Repository purpose: a small PoC/exploit setup for CVE-2026-24061 (Telnet NEW-ENVIRON RCE/auth bypass style issue) demonstrating how a crafted Telnet NEW-ENVIRON subnegotiation can inject a malicious USER value ("-f root") to obtain a root shell. Structure: - Dockerfile: Builds a Debian 11 container installing inetutils-inetd and inetutils-telnetd, deletes the root password (passwd -d root), copies inetd.conf, exposes TCP/23, and runs inetd in debug mode. This provides a reproducible vulnerable lab environment. - inetd.conf: Configures inetd to launch /usr/sbin/telnetd as root for incoming telnet connections. - poc.py: Python network exploit that connects to a target IP:port (default 23), parses Telnet IAC negotiation, and when the server sends DO NEW-ENVIRON it replies WILL NEW-ENVIRON and sends a NEW-ENVIRON subnegotiation containing USER='-f root'. It then repeatedly sends `id` and prints server output; it declares success when it sees uid=0. - README.md: Chinese instructions to build/run the container and reproduce manually using telnet with an environment variable (USER='-f root'), plus usage help for poc.py. Key exploit capability: - Remote interaction over Telnet to trigger NEW-ENVIRON negotiation and inject a crafted environment variable intended to coerce telnetd into spawning/authorizing a root session, yielding an interactive root shell (validated via `id`).r00tuser111 · Disclosed Jan 23, 2026 · dockerfile · python · networkOperationalCVE-2026-24061Repository contains a Python proof-of-concept exploit for CVE-2026-24061 (GNU inetutils-telnetd auth bypass). Structure: (1) README.md documents the vulnerability, affected versions (1.9.3–2.7), and usage examples; (2) exploit.py implements a minimal TELNET client that performs option negotiation and abuses the NEW-ENVIRON (option 39) subnegotiation to send a crafted USER environment variable (default "-f root"). The intended effect is that vulnerable telnetd passes USER unsanitized to the system login invocation, causing login to interpret it as flags (e.g., "login -f root") and grant a passwordless session. The script supports configurable target host/port, configurable injected USER value, a timeout, and two modes: interactive shell (terminal-like I/O using select) and non-interactive single-command execution (-c). Fingerprintable targets are the TCP telnet endpoint (default :23) and the TELNET NEW-ENVIRON negotiation path used to deliver the payload.balgan · Disclosed Jan 23, 2026 · python · networkOperationalCVE-2026-24061Small Python exploit repository centered on a single script, main.py, with supporting README and minimal pyproject metadata. The exploit is a standalone network-based Telnet authentication bypass PoC/operational script targeting GNU inetutils-telnetd and claiming CVE-2026-24061. Its core capability is to connect to a Telnet service, participate in Telnet option negotiation, and when the server requests NEW_ENVIRON data, send a crafted USER environment variable containing '-f <user>' (default 'root') to bypass authentication. The script also handles TTYPE and TSPEED negotiation by replying with 'xterm' and '38400,38400' respectively, which helps establish a usable interactive session. Operationally, the script supports single-target mode (-u) and bulk mode (-l) where it reads hosts from a file and launches one thread per target. It accepts a custom port (-p, default 23) and custom username (-usr). Based on the visible code and README, successful exploitation is intended to yield an unauthenticated shell on the remote host as the specified user, typically root. This is not a detection-only tool; it actively sends exploit traffic and attempts to maintain an interactive Telnet session. Repository structure is minimal: README.md provides vulnerability narrative, usage, and references; main.py contains all exploit logic; pyproject.toml only defines package metadata; .python-version pins the interpreter version. No external C2, callback infrastructure, hardcoded victim IPs, or persistence mechanisms are present in the visible content. The main fingerprintable target is the Telnet service on TCP/23 and the specific Telnet NEW_ENVIRON negotiation sequence carrying USER='-f <user>'.sh4den · Disclosed Jan 23, 2026 · python · toml · networkOperationalCVE-2026-24061Repository purpose: a Python-based network exploit tool targeting a claimed GNU inetutils-telnetd authentication bypass (CVE-2026-24061). The exploit abuses Telnet option negotiation, specifically NEW_ENVIRON (option 39), to send an environment variable USER with a value like "-f root". This is intended to be interpreted by the server-side login invocation as an argument injection that forces authentication success for the chosen user. Structure: - main.py: primary exploit implementation and CLI. Implements a minimal Telnet client that handles IAC negotiation, responds to TTYPE (24) and TSPEED (32) subnegotiations, and triggers the exploit when the server requests NEW_ENVIRON SEND. Provides single-target mode (-u) and multi-target mode (-l) using Python threads. Default target port is 23; default user is root. - README.md: extensive narrative describing the vulnerability, usage examples, and references. - pyproject.toml / .python-version: packaging/runtime metadata (notably requires-python >=3.14 in pyproject, while README claims 3.7+). Notable technical behavior in main.py: - Connects via TCP socket to host:port and sets non-blocking mode. - Parses Telnet negotiation bytes (IAC/DO/DONT/WILL/WONT and SB/SE). - On NEW_ENVIRON subnegotiation request (SB 39 ... SEND), sends payload: IAC SB 39 0 0 "USER" 0x01 "-f <user>" IAC SE. - Attempts to provide an interactive session after bypass (the provided content is truncated in the run() method, but the intent is an interactive shell over the established telnet connection). Overall capability: unauthenticated remote access (interactive shell) against a reachable telnetd service by protocol-level injection during option negotiation; includes basic multi-target automation via a targets file and threading.SystemVll · Disclosed Jan 23, 2026 · python · networkOperationalCVE-2026-24061Repository contains a single Ruby exploit script (CVE-2026-24061.rb) plus a minimal README with example usage. Core behavior: - Multi-target, multi-threaded Telnet client that connects to a host (default TCP/23), performs basic Telnet option negotiation handling, and specifically reacts to subnegotiation (SB ... SE) by sending a crafted NEW-ENVIRON (option 39) message. - The crafted payload sets the NEW-ENVIRON variable USER to an attacker-controlled value (default "-f root"). This suggests the targeted vulnerability is an environment/argument injection or authentication bypass triggered by Telnet NEW-ENVIRON handling on the server side. - Optional command execution: if --cmd is provided, the script sends the command followed by newline immediately after connecting (before reading/processing negotiation data). It then reads a chunk of server output and strips ANSI escape sequences. - Success heuristic: marks a host as vulnerable if the processed output contains typical shell/root markers (root, uid=0, #, or $). Results are written to logs/vulnerable.txt and logs/failed.txt. Structure and entry points: - CVE-2026-24061.rb: main entry point; implements Telnet negotiation parsing (IAC/DO/DONT/WILL/WONT/SB/SE), payload construction, threaded target queue, and logging. - README.md: shows running against a list (targets.txt) with --cmd "id" and specifying threads, or a single target with -t. Notable observables: - Network: TCP connections to target hosts on port 23 by default. - Local artifacts: creates ./logs/ and writes vulnerable/failed host lists.z3n70 · Disclosed Jan 24, 2026 · ruby · markdown · network (Telnet over TCP; option negotiation abuse via NEW-ENVIRON)OperationalCVE-2026-24061Repository contains a single Go proof-of-concept exploit (poc.go) and a README describing CVE-2026-24061, an alleged remote authentication bypass in GNU Inetutils telnetd (versions 1.9.3–2.7). The exploit is a network-based Telnet protocol manipulation that abuses the NEW-ENVIRON/ENV option (RFC 1572) to send an environment variable assignment that is later interpreted as arguments to login(1). Key behavior in poc.go: - Connects to a user-specified TCP address (host, port) via net.DialTimeout. - Performs Telnet option negotiation (IAC sequences) and advertises WILL NEW-ENVIRON (opt 39) and WILL ENVIRON (opt 36). - On server DO/SB SEND requests, sends subnegotiation payload setting USER to "-f root" (hardcoded), aiming to coerce telnetd into executing `login -f root`. - Determines likely success by checking for Telnet WILL ECHO (IAC WILL ECHO / 0xff 0xfb 0x01) and absence of login/password prompts in received text. - Sends `id` to validate shell access (expects output containing "uid=") and then drops into an interactive read/write loop until exit/quit. Structure/purpose: - README.md: vulnerability description, affected versions, lab usage instructions, and references. - poc.go: standalone operational exploit with an interactive shell; not part of a larger framework. The payload is not configurable beyond editing the hardcoded injected USER value ("-f root").midox008 · Disclosed Jan 24, 2026 · go · markdown · networkOperationalCVE-2026-24061Repository contains a small Python Telnet exploit PoC/utility claiming to target CVE-2026-24061. Structure: (1) Readme.md with basic CLI usage (note: README references exploit.py, but the actual script is telnet_vuln.py), (2) telnet_vuln.py implementing the exploit and an interactive Telnet client, and (3) .gitignore. Core behavior: the script connects to a user-supplied target over TCP (default port 23), performs minimal Telnet option negotiation, and specifically responds to DO NEW_ENVIRON by advertising WILL NEW_ENVIRON. When the server initiates NEW-ENVIRON subnegotiation (IAC SB ... IAC SE), it sends a crafted NEW-ENVIRON IS message setting the variable USER to the payload string (default "-f root"). After sending the payload, it provides an interactive session: a background thread reads and parses the Telnet stream (handling IAC negotiation and stripping ANSI escape sequences) while the main thread forwards keystrokes to the socket. Exploit capability: protocol-level injection via Telnet NEW-ENVIRON to influence server-side handling of the USER value; the hardcoded payload suggests an argument/flag injection attempt ("-f root") rather than a generic RCE payload. No scanning, brute force, or post-exploitation modules are included; it is a single-target, interactive network exploit tool.BrainBob · Disclosed Jan 24, 2026 · python · markdown · network (Telnet/TCP)OperationalCVE-2026-24061-POCRepository contains a small Python proof-of-concept exploit for CVE-2026-24061, described as a telnetd authentication bypass via improper handling of the USER environment variable during telnet option negotiation. Structure: - LICENSE: MIT. - README.md: Describes the issue, affected versions (inetutils telnetd 1.9.3–2.7), usage (python script with target IP/port), and references. - cve-2026-24061-poc.py: Standalone Python script implementing a raw TCP telnet client with minimal telnet option negotiation handling. Exploit behavior/capabilities: - Connects to a specified target and TCP port (default 23). - Sends a crafted Telnet Environment Option (option 39) subnegotiation payload that sets the USER variable to "-f root" (i.e., attempts to inject a login flag via environment handling). - Spawns a background reader thread that parses/filters telnet IAC negotiation bytes and prints server output. - Provides an interactive loop that forwards attacker keystrokes/lines to the telnet session, effectively acting as an interactive shell if the bypass succeeds. Notable implementation details: - The negotiate() function responds to telnet DO/WILL negotiation by refusing most options (WONT/DONT) except it avoids refusing option 39 in one branch, consistent with focusing on ENV. - Uses os._exit(0) when the socket closes, abruptly terminating the process. Overall purpose: a network-based PoC to demonstrate authentication bypass and potential root-level remote command execution on vulnerable telnetd implementations by abusing telnet environment variable negotiation.cyberpoul · Disclosed Jan 24, 2026 · python · markdown · networkOperationalCVE-2026-24061-POCRepository purpose: provides a self-contained vulnerable lab environment and a Python exploit for CVE-2026-24061 (GNU InetUtils telnetd authentication bypass via NEW-ENVIRON argument injection). Structure: - Dockerfile: Builds Debian bullseye-slim image, compiles and installs GNU inetutils 2.5 (declared vulnerable), configures xinetd to run /usr/local/libexec/telnetd as root, exposes TCP/23, and sets test credentials (testuser/password, root/toor). - docker-compose.yml: Runs the lab container (ports 23:23) with specified DNS resolvers. - README.md: Usage instructions (docker compose up; telnet to 127.0.0.1; run python3 exploit.py 127.0.0.1) and notes affected versions (≤ 2.7) and impact (remote root access). - exploit.py: Implements a minimal Telnet client that performs Telnet option negotiation (RFC 854) and specifically responds to NEW-ENVIRON (option 39) requests. When the server initiates NEW-ENVIRON subnegotiation, the script sends a crafted environment variable message setting USER to the payload string "-f root". This is intended to exploit telnetd’s argument parsing/handling to bypass authentication and obtain a root session. The script then provides an interactive terminal-like session, including basic output cleanup (ANSI escape filtering) and suppression of echoed commands using a newline-based state flag. Key exploit capability: - Remote, unauthenticated interaction over Telnet to trigger NEW-ENVIRON handling and inject a malicious USER value that attempts to force root identity ("-f root"), yielding an interactive session if the target is vulnerable.Alter-N0X · Disclosed Jan 24, 2026 · python · dockerfile · networkOperationalCVE-2026-24061-PoCRepository purpose: a small vulnerable-lab + exploit PoC for CVE-2026-24061 affecting GNU InetUtils telnetd (README: ≤2.7; lab builds 2.5). It provides a Dockerized environment exposing telnetd on TCP/23 via xinetd and a Python exploit that performs Telnet option negotiation and injects a crafted NEW-ENVIRON USER value to trigger an authentication bypass/argument injection. Structure: - Dockerfile: Builds Debian bullseye-slim image, compiles and installs inetutils-2.5 from ftp.gnu.org, configures xinetd to run /usr/local/libexec/telnetd as root, sets test credentials (testuser/password, root/toor), exposes port 23. - docker-compose.yml: Runs the lab container, maps 23:23, sets DNS resolvers (8.8.8.8, 1.1.1.1). - exploit.py: Network exploit/interactive client. Connects to host:port (default 23), implements Telnet RFC854 negotiation handling, specifically responds to DO NEW_ENVIRON with WILL NEW_ENVIRON, and when subnegotiation for NEW_ENVIRON occurs, sends a malformed environment variable assignment: USER="-f root". It then maintains an interactive session, reading stdin byte-by-byte and printing server output while filtering Telnet control bytes and ANSI escape sequences; it also suppresses echoed command output using a newline-based state flag. - README.md: Usage instructions to start the lab and run the exploit against 127.0.0.1, plus vulnerability metadata and a reference link. Exploit capabilities: - Remote network attack against a Telnet service. - Telnet NEW-ENVIRON option manipulation and subnegotiation crafting. - Argument injection via USER environment variable value (hardcoded payload "-f root"), aiming for root-level access, then provides an interactive session over the same TCP connection. Notable observables: - Network target: TCP/23. - Download source: https://ftp.gnu.org/gnu/inetutils/inetutils-2.5.tar.xz. - Lab config paths: /etc/xinetd.d/telnet and /usr/local/libexec/telnetd.Alter-N0X · Disclosed Jan 24, 2026 · python · dockerfile · networkOperationalAshwesker-CVE-2026-24061Repository contains a single Python proof-of-concept exploit and a README. - Files: - CVE-2026-24061.py: Async Python exploit using telnetlib3 to connect to a target telnetd service (default TCP/23). It sends a crafted Telnet ENVIRON subnegotiation that sets the USER environment variable to a malicious value of the form "-f<target_user>" (default "-froot"). The script then checks the server response; if it does not see a login/password prompt, it assumes the authentication bypass succeeded and drops into an interactive loop that lets the operator run arbitrary commands over the established telnet session. - README.md: Describes the vulnerability as an authentication bypass in GNU Inetutils telnetd versions 1.9.3–2.7, provides usage examples, and suggests mitigations. - Exploit capability: - Unauthenticated remote auth bypass via Telnet option negotiation (ENVIRON) to inject a crafted USER value intended to be interpreted as a login option, resulting in a remote shell as the specified user (root by default). - Notable implementation details: - Uses telnetlib3.open_connection with timeouts. - Constructs raw IAC/ENVIRON bytes and writes them as latin1-decoded text. - Provides an interactive pseudo-shell by sending user-entered commands and printing server output.Mefhika120 · Disclosed Jan 25, 2026 · python · markdown · networkOperationalCVE-2026-24061Repository contains a small, standalone C proof-of-concept exploit for CVE-2026-24061 described as a “Telnet NEW-ENVIRON authentication bypass”. Structure: - README.md: build instructions for Windows (MinGW, links ws2_32) and Linux (pthread), and usage: ./exploit <host> [port]. - exploit.c: cross-platform Telnet client that connects to a target host/port (default TCP/23), performs Telnet option negotiation, and specifically responds to DO NEW-ENVIRON with WILL NEW-ENVIRON. When it observes a NEW-ENVIRON subnegotiation from the server, it sends a crafted NEW-ENVIRON IS message setting the variable USER to the payload string "-f root". Core capabilities: - Remote network exploitation attempt against a Telnet service by injecting a NEW-ENVIRON USER value. - Provides an interactive session (stdin->socket, socket->stdout) with a background reader thread. - Implements basic Telnet IAC parsing (DO/DONT/WILL/WONT and SB/SE) and strips ANSI escape sequences from output. Notable targeting details: - No hardcoded IPs/domains; operator supplies host and optional port. - The only hardcoded exploit payload is USER=-f root, suggesting the PoC aims to trigger a backend that misinterprets USER as command-line options (e.g., forcing/faking root login) if vulnerable. Overall purpose: a minimal operational PoC demonstrating a Telnet NEW-ENVIRON negotiation/subnegotiation injection leading to a potential authentication bypass, packaged as a simple interactive Telnet client with the malicious NEW-ENVIRON USER injection.infat0x · Disclosed Jan 25, 2026 · c · network (remote) - Telnet option negotiation/subnegotiation injection (NEW-ENVIRON)OperationalCVE-2026-24061-ScannerRepository contains a Bash-based active scanner for CVE-2026-24061 affecting GNU Inetutils telnetd. Structure: (1) README.md describing features, dependencies, usage, and remediation; (2) telnet_scanner.sh implementing the scanner. Core capabilities: - Accepts a single IP or a subnet-like input (3 octets, .0 network ID, or explicit CIDR) and scans a /24 range (SUBNET.1–254) in parallel batches (10 concurrent jobs). - Performs a 3-stage workflow per host: (1) TCP port check via netcat (nc -z), (2) banner grabbing via netcat and filtering for indicators ("GNU" or "inetutils"), (3) active verification by attempting the auth bypass using environment variable injection `USER="-f root"` and running `telnet -a` to execute `id`. - Determines exploitation success by matching `uid=0(root)` in telnet output; logs results to telnet_exploit_results.txt and prints a short preview. This is not a pure passive detector: it includes an exploitation attempt (authentication bypass check) but does not deploy a persistent payload beyond confirming root access. No C2 infrastructure is present; the only external network reference is a Shodan CVE page link shown to the user.XsanFlip · Disclosed Jan 26, 2026 · bash · markdown · networkOperationalCVE-2026-24061-GUIRepository purpose: a PyQt5-based GUI tool to scan for and exploit CVE-2026-24061 (GNU Inetutils telnetd authentication bypass), providing batch scanning and interactive root shell sessions. Structure: - README.md: Chinese documentation describing features (single target/range/CIDR scanning, multithreading, export, and interactive root shell), defaults (port 23, timeouts 3s, threads up to 1000, default user value "-f root"). - cve_2026_24061_gui.py: main application combining Telnet protocol handling, vulnerability detection, exploitation, and GUI. - requirements.txt: PyQt5 dependency. Key exploit logic (from code): - Implements a Telnet negotiator that parses IAC sequences and handles option negotiation (DO/DONT/WILL/WONT) and subnegotiation (SB ... IAC SE). - Crafts and sends ENVIRON/NEW-ENVIRON subnegotiation payloads that set the USER environment variable to a supplied value (default "-f root"). This is consistent with abusing telnetd argument/environment handling to bypass authentication. - Detection heuristics: - Reads server banners/output and checks for login/password prompts using a regex covering English/Chinese prompts. - Confirms successful privilege by executing `id` and checking output for uid=0 and gid=0. - Capabilities exposed in the GUI: - Multi-target scanning (single IP, ranges, CIDR, file import) with configurable port and thread count. - Result table/logging and export. - Exploitation workflow that opens multiple concurrent interactive terminal sessions to vulnerable hosts and displays command output in real time. Fingerprintable targets/endpoints: - Network: TCP port 23 (Telnet) is the primary target endpoint; no hardcoded C2 or external callback endpoints were found beyond README image links.Lingzesec · Disclosed Jan 26, 2026 · python · networkOperationalcve-2026-24061-GUIRepository purpose: a PyQt5-based GUI tool to scan for and exploit CVE-2026-24061 (claimed GNU Inetutils telnetd authentication bypass) and provide an interactive root shell over Telnet. Structure: - README.md: Chinese documentation describing features (single target/range/CIDR scanning, multithreading, export, and interactive terminal sessions). - cve_2026_24061_gui.py: Main application. Implements Telnet protocol parsing/negotiation, scanning logic, and a GUI with tabs for scanning and exploitation/terminal sessions. - requirements.txt: PyQt5 dependency. Exploit mechanics (as implemented): - Uses raw TCP sockets to connect to a Telnet service (default timeout values ~3s). - Implements a TelnetNegotiator that parses IAC sequences and handles DO/DONT/WILL/WONT and SB/SE subnegotiations. - Crafts and sends ENVIRON/NEW-ENVIRON subnegotiation payloads that set environment variable USER to a configurable value (default "-f root"). This is consistent with attempting to trigger telnetd option parsing/argument injection behavior. - Determines success by issuing/observing command output and checking for root identity via `id` output (looks for uid=0 and gid=0). Also detects login prompts via regex to distinguish non-bypassed sessions. Capabilities: - Vulnerability detection: multithreaded scanning of targets (single IP, ranges, CIDR, file import) and reporting status/details. - Exploitation: for targets marked vulnerable, opens interactive Telnet sessions in the GUI and allows arbitrary command execution; displays output in real time. Fingerprintable observables: - Network: outbound TCP connections to user-specified targets on port 23 by default. - Protocol payload: Telnet IAC SB (ENVIRON/NEW-ENVIRON) messages setting USER to "-f root" (default). - No hardcoded C2/IPs/domains beyond README-hosted screenshot URLs.Lingzesec · Disclosed Jan 26, 2026 · python · networkOperationalCVE-2026-24061-telnet2rootRepository purpose: provides a network scanner and an interactive exploit client for a claimed Telnet daemon vulnerability labeled CVE-2026-24061, abusing Telnet NEW-ENVIRON option handling to achieve pre-auth root access by injecting a USER value of "-f root". Structure: - README.md: describes the vulnerability, usage examples, and a Docker lab. Note: the NVD link in the badge points to CVE-2025-14847, which appears inconsistent with the repository title/CVE. - exploit.py (Python): interactive Telnet client/exploit. It connects to a target host/port, parses Telnet IAC negotiation, and when it sees a NEW-ENVIRON subnegotiation opportunity, sends a crafted NEW-ENVIRON IS VAR USER VALUE "-f root" message. It then relays traffic to/from the user to provide an interactive shell-like session. Includes output filtering (ANSI escape stripping) and suppression of echoed commands. - scanner.py (Python): multi-target scanner using ThreadPoolExecutor. It connects to each target:port, checks for the presence of IAC DO NEW-ENVIRON in the initial server data (fingerprint for potential vulnerability), prints vulnerable findings, and optionally performs active exploitation by sending the crafted NEW-ENVIRON payload(s) and running "id" to confirm root (uid=0/root prompt markers). - lab/Dockerfile + lab/docker-compose.yml: builds an Ubuntu 24.04 container with inetutils-telnetd pinned to version 2:2.5-3ubuntu4 and xinetd configuration to expose telnetd. docker-compose maps host port 1903 to container port 23 for local testing. Main exploit capabilities: - Remote, pre-auth interaction with Telnet negotiation. - Injection of a crafted NEW-ENVIRON subnegotiation to coerce privileged login behavior ("-f root"). - Interactive session handling (exploit.py) and automated scanning/verification at scale (scanner.py).FurkanKAYAPINAR · Disclosed Jan 27, 2026 · python · dockerfile · network (remote, pre-auth) via Telnet option negotiation (NEW-ENVIRON) over TCPOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
GNU ProjectInetutilsapplication
FAQ

Frequently asked questions

Is CVE-2026-24061 exploited in the wild?
Yes. As of Nov 2, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 26, 2026.
Is there a public exploit for CVE-2026-24061?
Yes. Mallory tracks 62 public exploits or proofs of concept for CVE-2026-24061, the earliest disclosed Apr 16, 2025.
Is there a patch for CVE-2026-24061?
Upgrade to GNU Inetutils 2.8 or later, or install a distribution-maintained package containing the backported CVE-2026-24061 fix. For Alpine Linux, update inetutils-telnet and related packages to 2.8-r0 or later.
What products are affected by CVE-2026-24061?
GNU Project Inetutils and Debian Project Debian Linux.
How severe is CVE-2026-24061?
CVE-2026-24061 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 46.2% (99th percentile) as of Nov 2, 2026.
Activity feed

Recent activity

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

View more in app →
sh3llc0d3 blogNews · Oct 20, 2026GNU inetutils-telnetd Remote Authentication Bypa | ShellcodeThe content describes a critical unauthenticated remote authentication bypass in GNU inetutils-telnetd through version 2.5, rated CVSS 9.8. Unsanitized USER values supplied through Telnet NEW_ENVIRON negotiation are passed to /bin/login as arguments, allowing an attacker to inject the -f authentication-bypass flag and obtain a root shell. Public proof-of-concept exploits and active scanning are reported, but exploitation in the wild is not explicitly confirmed. The content identifies an upstream patch and recommends version 2.6 or vendor backports, disabling Telnet, and restricting access through network segmentation and firewall rules.Read more ↗tenable cloud security pluginsNews · Oct 16, 2026Alpine: multiple inetutils-telnet packages: security update to... | Tenable®Remote authentication bypass in GNU Inetutils telnetd through version 2.7 using a specially crafted USER environment variable. The advisory explicitly identifies a Metasploit exploit for this CVE and includes CISA Known Exploited Vulnerability information.Read more ↗medium mainekhackerNews · Sep 10, 2026Orion HTB Room Full Walkthought | by MainEkHacker | Sep, 2026 | MediumA high-severity remote authentication-bypass vulnerability in GNU Inetutils telnetd versions 1.9.3 through 2.7. An attacker can supply USER=-f root via Telnet environment negotiation; telnetd passes it to login(1), whose -f option bypasses normal authentication and logs the attacker in as root.Read more ↗infosec writeupsNews · Aug 29, 2026Operation RepoGhost: Exposing a Russian-Linked Malware Campaign Hiding in GitHub’s Open-Source Ecosystem | by Avyukt Security | Aug, 2026 | InfoSec Write-upsUnknown; the content does not describe this vulnerability or establish that it was exploited.Read more ↗
+39 more in the timeline. Sign up to see them
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 evidence3Every report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures5YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity155Community discussion across Reddit, Mastodon, and other social sources.