{"uuid": "ce50b005-16b8-4310-8dad-38728bed7c0e", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2026-24061", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/telnet/gnu_inetutils_auth_bypass.rb", "content": "{\"aliases\": [], \"arch\": \"cmd\", \"author\": [\"jheysel-r7\", \"Kyu Neushwaistein\"], \"autofilter_ports\": [23], \"autofilter_services\": [\"telnet\"], \"check\": false, \"default_credential\": false, \"description\": \"The telnetd service from GNU InetUtils is vulnerable to authentication-bypass, tracked as CVE-2026-24061, in\\n          versions up to version 2.7. During Telnet authentication the SB byte can be sent to indicate sub-negotiation which\\n          allows for the exchange of sub-option parameters after both parties have agreed to enable a specific functional option.\\n          Environment variables can be sent as sub-options and it's the USER environment variable which introduces the\\n          authentication bypass in this scenario. When the USER environment variable gets sent to the GNU inetutils telnetd\\n          service during authentication, the variable gets appended without proper sanitization to an execv call to the\\n          /usr/bin/login binary. The login binary has a -f flag which skips authentication for a specific user. So the exploit\\n          sets the `USER` environment variable to -f root and the telnetd service responds with a root shell.\", \"disclosure_date\": \"2026-01-26\", \"fullname\": \"exploit/linux/telnet/gnu_inetutils_auth_bypass\", \"is_install_path\": true, \"mod_time\": \"2026-06-02 10:32:30 +0000\", \"name\": \"GNU Inetutils Telnet Authentication Bypass Exploit CVE-2026-24061\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"unreliable-session\"], \"SideEffects\": [], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/telnet/gnu_inetutils_auth_bypass.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": true, \"rank\": 500, \"ref_name\": \"linux/telnet/gnu_inetutils_auth_bypass\", \"references\": [\"CVE-2026-24061\", \"EDB-52524\", \"URL-https://github.com/DeadlyHollows/CVE-2026-24061-setup\", \"URL-https://www.safebreach.com/blog/safebreach-labs-root-cause-analysis-and-poc-exploit-for-cve-2026-24061/\", \"ATT&amp;CK-T1021\"], \"rport\": 23, \"session_types\": false, \"targets\": [\"Automatic\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:25.908439Z"}