CVE-2026-24061 Telnet RCE Exploit - By SafeBreach Labs
January 22, 2026 ยท View on GitHub
This script exploits the CVE-2026-24061 vulnerability in Telnet servers using a malformed USER environment variable.
Usage
Run the script with a target host:
python telnet_rce.py <host> [-p <port>]
Arguments
host: Target IP address or hostname (required)-p, --port: Target port (default: 23)
Example
python telnet_rce.py 192.168.1.100
python telnet_rce.py example.com -p 23