
This Proof‑of‑Concept demonstrates a **Local Privilege Escalation** vulnerability in GNU inetutils `telnetd`. `telnetd` improperly passes client‑controlled environment variables to `login(1)`. By setting:
Professional Proof-of-Concept (PoC) for CVE-2026-28372, a Local Privilege Escalation (LPE) vulnerability found in GNU inetutils telnetd (versions ≤ 2.7).
The vulnerability occurs because telnetd improperly passes client-controlled environment variables to the login(1) process. By manipulating the CREDENTIALS_DIRECTORY variable and inserting a login.noauth file, an unprivileged attacker can bypass authentication entirely and obtain a root shell without a password.
Ensure the telnetd service is running and Python 3 is installed.
# Execute the automated exploit script
python3 exploit.py --host 127.0.0.1