GNU Screen <5.0.2 TOCTOU Hardcopy Race Condition PrivEsc
CVE-2026-71411 Published on November 26, 2026
Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen
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.
Vulnerability Analysis
CVE-2026-71411 can be exploited with local system access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
What is a TOCTTOU Vulnerability?
The software checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the software to perform invalid actions when the resource is in an unexpected state. This weakness can be security-relevant when an attacker can influence the state of the resource between check and use. This can happen with shared resources such as files, memory, or even variables in multithreaded programs.
CVE-2026-71411 has been classified to as a TOCTTOU vulnerability or weakness.
Products Associated with CVE-2026-71411
Want to know whenever a new CVE is published for GNU Screen? stack.watch will email you.
Affected Versions
GNU Screen:- Before 5.0.2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.