Technical assessment
Go exploit for CVE-2026-24061 that connects to a telnetd service, injects 'USER=-f root' via the NEW-ENVIRON option to bypass authentication, and provides an interactive root shell.
Backdoor review
No backdoor observed in reviewed code
The repository contains a proof-of-concept exploit for CVE-2026-24061, a telnetd authentication bypass. The Go code (poc.go) implements the described vulnerability by sending a crafted USER environment variable to gain a root shell. No backdoor, deceptive payload, or concealed operator-directed harm was observed. The code performs only the advertised exploit behavior: connecting to a target, negotiating telnet options, injecting the malicious USER value, and providing an interactive shell if successful.
Model confidence98%
AuthenticationNot required
LanguagesGo
Target softwareGNU Inetutils telnetd
Attack typesauthentication bypassargument injection
Evidence & reasoningClassification basis · observed behavior · safety review
Technical evidenceClassification basis and observed behavior
Classification basis
The primary artifact poc.go contains complete code that actively exploits the vulnerability by connecting to a target, injecting a malicious environment variable to bypass authentication, and providing an interactive shell. This is exploitation, not mere detection or scanning.
poc.go:1-278README.md:39-47Requirements
- Target running vulnerable GNU Inetutils telnetd (versions 1.9.3 through 2.7)
README.md:9 - Network access to the target telnet port
poc.go:40-44
Observed behavior
- Connects to a specified host and port via TCP
poc.go:44 - Sends telnet protocol commands to negotiate NEW-ENVIRON and ENVIRON options
poc.go:55-56 - Injects the environment variable USER with value '-f root' to trigger authentication bypass
poc.go:54poc.go:142-153 - Checks for absence of login prompt and presence of WILL ECHO to confirm successful bypass
poc.go:67-75 - Executes 'id' command and verifies 'uid=' in output to confirm shell access
poc.go:77-83 - Provides an interactive shell session, reading commands from stdin and sending them to the target
poc.go:92-109
Safety-review evidenceBehaviors behind the backdoor verdict
Observables
- Exploit Behavior
- poc.go sends USER=-f root via telnet NEW-ENVIRON to bypass authentication and spawn a root shellThis is the exact behavior described in the README and CVE advisory for CVE-2026-24061. It is the intended purpose of the PoC.
poc.go:54poc.go:142-153poc.go:88 - Target Environment
- Dockerfile builds a vulnerable GNU Inetutils 2.0 telnetd container with a test user and root password setThe Dockerfile sets up a lab environment for testing the exploit, consistent with the README instructions. It does not contain any backdoor or unrelated payload.
Dockerfile:1-36
Review boundariesWhat the analysis did not establish
- One file (docker-compose.yml) is omitted from the evidence; its content is not available for analysis.
- The evidence does not include the output of executing the exploit; classification is based solely on static code analysis.
- One file (docker-compose.yml) was omitted from the text evidence and not reviewed. Its metadata indicates it is a text file, but its content was not provided. Based on the README, it is expected to be a standard Docker Compose orchestration file for the lab environment.
Model interpretationThis review is limited to the supplied PoC code and context. It does not assert that the code works or is safe to execute.