Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/jayglxr/cve-2026-24061-poc
Vulnerability AnalysisExploitationWeb Application ExploitationNetwork SecurityPenetration TestingAuthentication
GitHubjayglxr/cve-2026-24061-poc

CVE-2026-24061-POC

Proof-of-concept exploit for CVE-2026-24061, a critical remote authentication bypass in GNU inetutils-telnetd via crafted NEW_ENVIRON USER variable, granting root shell without credentials.

View Repository
67107 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-24061

GNU inetutils-telnetd Remote Authentication Bypass

CVSS Score: 9.8 Critical

Overview

A vulnerability in GNU inetutils-telnetd allows remote attackers to bypass authentication via the NEW_ENVIRON telnet option. By sending a crafted USER environment variable containing the value "-f root", an attacker can trick the login process into granting a root shell without credentials.

Affected Versions

GNU inetutils-telnetd versions prior to 2.6

Technical Details

The telnetd daemon passes the USER environment variable from NEW_ENVIRON negotiation directly to /bin/login. When the value is "-f root", login interprets this as a command-line flag indicating pre-authentication, bypassing password verification entirely.

Usage

root@kitploit:~
./cve_2026_24061_telnetd.py <target> [port] [user]

echo "id; whoami" | ./cve_2026_24061_telnetd.py 192.168.1.1

Testing

A vulnerable test environment is provided via Docker.

root@kitploit:~
docker build -t vuln-telnetd -f Dockerfile.vulnerable .
docker run -d -p 2323:23 --name vuln-telnetd vuln-telnetd

echo "id" | python3 cve_2026_24061_telnetd.py localhost 2323

References

https://www.gnu.org/software/inetutils/

https://nvd.nist.gov/vuln/detail/CVE-2026-24061


LEGAL DISCLAIMER

This proof-of-concept is provided for authorized security research and educational purposes only. Unauthorized access to computer systems is illegal. The authors assume no liability for misuse of this software. Users are solely responsible for ensuring they have proper authorization before testing any systems. By using this tool, you agree to use it only on systems you own or have explicit written permission to test.

Download Tool