# CVE-2026-71411: Time-of-check Time-of-use (TOCTOU) Race Condition leading to privilege escalation in GNU screen

- Severity: Medium 5.5 (CVSS:4.0, scored by CERT-PL) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-26T13:22:26.641Z
- Modified: 2026-12-01T17:17:43.103Z
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## 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.

(As written by CVE List.)

## Affected

- GNU Screen: before 5.0.2

## References

- <https://cert.pl/en/posts/2026/11/CVE-2026-71409> (third-party-advisory)
- <https://savannah.gnu.org/git/?group=screen> (product)
- <https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=3dea5ff20c58ad497062d094b6a9b80a7535a7db> (patch)
- <https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=screen-v5&id=15a1481ad85309835c466a49f99a55537a78d596> (patch)

## Sources

- CVE List: [CVE-2026-71411](https://www.cve.org/CVERecord?id=CVE-2026-71411), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-71411](https://nvd.nist.gov/vuln/detail/CVE-2026-71411), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-71411 · Whole record: https://cve.day/CVE-2026-71411.json · Rebuilt by cve.day 2026-12-01T17:32:19.491Z
