
Writeup/finding of CVE-2026-24061 within the Cyberhawks lab
Credit to: @SafeBreach-Labs
CVE: CVE-2026-24061
Lab: Cyberhawks Lab
Target: 10.1.1.1 (demo.cyberhawks.lab)
Finding ID: WU-08
Date: 2026-09-08
Severity: Critical
Status: Confirmed / Exploited
During an assessment of the Cyberhawks lab environment, an unauthenticated Remote Code Execution (RCE) vulnerability was identified and successfully exploited on the target host (10.1.1.1). Exploitation of CVE-2026-24061 via an exposed Telnet service (TCP/23) resulted in a root-level interactive shell, granting full administrative control over the system.
| Field | Value |
|---|---|
| Target IP | 10.1.1.1 |
| Target Hostname | demo.cyberhawks.lab |
| Operating System | Linux 6.12.41+deb13-amd64 (Debian 13) |
| Attacker OS | Parrot OS |
| Assessment Type | Penetration Test (Lab Environment) |
An Nmap service version scan was performed against the target to enumerate open ports and services.
Command:
nmap -sV 10.1.1.1
Results Summary:
Notable Observations:
CVE-2026-24061 is an unauthenticated Remote Code Execution vulnerability affecting the Telnet daemon component of GNU inetutils 2.6. Exploitation allows a remote, unauthenticated attacker to execute arbitrary commands on the target system with the privileges of the running service — in this case, root.
A purpose-built Python exploit script (telnet_rce.py) targeting CVE-2026-24061 was executed against the vulnerable Telnet service.
Command:
python3 telnet_rce.py 10.1.1.1
Exploit Output:
[*] Connected to 10.1.1.1:23
[*] Interactive session started. Use Ctrl+C to quit.
Linux 6.12.41+deb13-amd64 (demo.cyberhawks.lab) (pts/0)
root@demo:~#
Upon obtaining a shell, the following commands confirmed the level of access achieved:
Identity Verification:
root@demo:~# id
uid=0(root) gid=0(root) groups=0(root)
Filesystem Enumeration:
root@demo:~# ls -la
total 36
drwx------ 6 root root 4096 Aug 28 14:47 .
drwxr-xr-x 19 root root 4096 Aug 28 15:37 ..
-rw-r--r-- 1 root root 607 May 12 2025 .bashrc
drwx------ 4 root root 4096 Sep 6 2025 .cache
drwxr-xr-x 3 root root 4096 Sep 6 2025 .config
drwxrwxr-x 3 root root 4096 Sep 6 2025 .local
-rw------- 1 root root 261 Sep 6 2025 .mariadb_history
-rw-r--r-- 1 root root 132 May 12 2025 .profile
drwx------ 2 root root 4096 Sep 6 2025 .ssh
Service Version Verfication
root@demo:~# telnet --version
telnet (GNU inetutils) 2.6
Copyright (C) 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by many authors.
Key findings from post-exploitation:
.mariadb_history — indicates active MariaDB database usage; potential for further credential harvesting or data exfiltration..ssh/ directory — may contain private keys usable for lateral movement to other hosts.root (UID 0) access was confirmed with no privilege escalation step required.| Category | Assessment |
|---|---|
| Confidentiality | Critical — all data on the system is accessible |
| Integrity | Critical — attacker can modify or destroy any data |
| Availability | Critical — attacker can terminate services or crash the system |
Full system compromise was achieved in a single, unauthenticated step. An attacker with access to this network segment could:
apt update && apt install inetutils-telnetd
| Artifact | Description |
|---|---|
| Nmap scan output | Full port/service enumeration of 10.1.1.1 |
telnet_rce.py | Exploit script used to trigger CVE-2026-24061 |
| Shell session log | Interactive root shell transcript |
Report prepared for Cyberhawks Lab — educational use only.
| Port | State | Service |
|---|
| 21/tcp | Open | FTP (tcpwrapped) |
| 22/tcp | Open | SSH (tcpwrapped) |
| 23/tcp | Open | Telnet |
| 25/tcp | Open | SMTP (tcpwrapped) |
| 53/tcp | Open | DNS (tcpwrapped) |
| 80/tcp | Open | HTTP (tcpwrapped) |
| 110/tcp | Open | POP3 (tcpwrapped) |
| 111/tcp | Open | RPC (tcpwrapped) |
| 139/tcp | Open | NetBIOS (tcpwrapped) |
| 143/tcp | Open | IMAP (tcpwrapped) |
| 445/tcp | Open | SMB (tcpwrapped) |
| 2049/tcp | Open | NFS (tcpwrapped) |
| 3306/tcp | Open | MySQL/MariaDB (tcpwrapped) |
| 3389/tcp | Open | RDP (tcpwrapped) |
| 5901/tcp | Open | VNC (tcpwrapped) |
| Field | Detail |
|---|
| CVE | CVE-2026-24061 |
| Affected Service | Telnet (GNU inetutils 2.6, TCP/23) |
| Vulnerability Type | Unauthenticated Remote Code Execution (RCE) |
| CVSS Score | Critical |
| Authentication Required | None |
| User Interaction Required | None |