Vulnerability Description
GNU Screen is vulnerable to a Time-of-Check/Time-of-Use (TOCTOU) race condition in the hardcopy file handler. Due to checking write permissions using the real user ID and subsequently opening the file using the effective user ID, a local unprivileged attacker can atomically replace the target path with a symbolic link pointing to an arbitrary system file. Successfully exploiting this race condition allows the attacker to write to arbitrary files with root privileges, leading to local privilege escalation This issue was fixed in version 5.0.2.
Related Weaknesses (CWE)
References
- https://cert.pl/en/posts/2026/11/CVE-2026-71409
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481
- https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff
- https://savannah.gnu.org/git/?group=screen
FAQ
What is CVE-2026-71411?
CVE-2026-71411 is a documented vulnerability. GNU Screen is vulnerable to a Time-of-Check/Time-of-Use (TOCTOU) race condition in the hardcopy file handler. Due to checking write permissions using the real user ID and subsequently opening the file...
How severe is CVE-2026-71411?
CVSS scoring is not yet available for CVE-2026-71411. Check NVD for updates.
Is there a patch for CVE-2026-71411?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.