CVE-2026-71411: 
Linux Red Hat Analyse et atténuation de la vulnérabilité

Aperçu

CVE-2026-71411 is a Time-of-Check/Time-of-Use (TOCTOU) race condition vulnerability in GNU Screen's hardcopy file handler that enables local privilege escalation to root. It affects all GNU Screen versions prior to 5.0.2 and was disclosed on November 26, 2026, by CERT-PL. The vulnerability carries a CVSS v3.1 base score of 7.0 (High) and a CVSS v4.0 base score of 5.5 (Medium) (GitHub Advisory, Red Hat Bugzilla).

Détails techniques

The root cause is a classic TOCTOU race condition (CWE-367) in GNU Screen's hardcopy file handler: the application checks write permissions using the calling process's real user ID, but subsequently opens the target file using the effective user ID (which may be root, since screen is typically installed setuid). An attacker can exploit the window between the permission check and the file open by atomically replacing the target path with a symbolic link pointing to an arbitrary system file — a technique described by CAPEC-27 (Leveraging Race Conditions via Symbolic Links). The fix was committed to the screen-v5 branch and is available in the upstream repository (GitHub Advisory, GNU Screen Commit).

Impact

Successful exploitation allows a local unprivileged user to write arbitrary content to any file on the system with root privileges, achieving full local privilege escalation. This can lead to complete system compromise — including modification of sensitive system files (e.g., /etc/passwd, /etc/sudoers, cron jobs), installation of persistent backdoors, and potential lateral movement if the compromised host is part of a larger environment. Confidentiality, integrity, and availability of the entire system are at risk (GitHub Advisory, Red Hat Bugzilla).

Exploitabilité

As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is 0.0, reflecting a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access to the target system and the ability to win a timing race, which adds practical complexity but is not insurmountable for a motivated attacker.

Étapes d’exploitation

  1. Gain local access: Obtain a low-privileged shell on a system running GNU Screen prior to version 5.0.2 (e.g., via SSH, web shell, or other initial access vector).
  2. Identify setuid Screen binary: Confirm that the screen binary is installed setuid root using ls -la $(which screen), which grants it an effective user ID of root during execution.
  3. Prepare symlink attack: Create a target file path that will be used as the hardcopy destination (e.g., /tmp/hardcopy_target). Prepare a malicious symlink pointing to a sensitive system file (e.g., ln -sf /etc/passwd /tmp/hardcopy_target).
  4. Race the TOCTOU window: Launch a loop that rapidly alternates the target path between a legitimate writable file and the malicious symlink, timing the swap to occur after Screen's permission check (using real UID) but before the file open (using effective UID/root).
  5. Trigger hardcopy: Within a screen session, invoke the hardcopy command (e.g., Ctrl+A H or :hardcopy /tmp/hardcopy_target) repeatedly while the race loop is running.
  6. Achieve arbitrary write: When the race is won, Screen writes the terminal buffer contents to the symlink target (e.g., /etc/passwd) as root, allowing the attacker to inject a new root-privileged user or overwrite other critical files for privilege escalation.

Indicateurs de compromis

  • File System: Unexpected symlinks in /tmp or world-writable directories pointing to sensitive system files (e.g., /etc/passwd, /etc/sudoers, /etc/cron.d/*); unexpected modifications to system files with timestamps correlating to screen process activity; new entries in /etc/passwd or /etc/sudoers not created by an administrator.
  • Process: Rapid creation and deletion of symlinks by a non-root user process; multiple concurrent screen processes spawned by the same low-privileged user; unusual screen hardcopy invocations visible in process listings (ps aux | grep screen).
  • Logs: Audit log entries (auditd) showing open() or openat() syscalls by the screen process (running as effective root) on sensitive system files initiated by a non-root real UID; entries in /var/log/auth.log or /var/log/secure showing unexpected privilege escalation or new root-equivalent account logins shortly after screen usage.

Atténuation et solutions de contournement

Upgrade GNU Screen to version 5.0.2 or later, which contains the fix addressing the TOCTOU race condition in the hardcopy file handler (GitHub Advisory). The upstream patches are available at the GNU Screen git repository. As a temporary workaround until patching is possible, restrict local user access to systems running vulnerable versions of GNU Screen, disable or remove the setuid bit from the screen binary (chmod u-s $(which screen)), and monitor for suspicious use of the hardcopy functionality using system auditing tools such as auditd.

Réactions de la communauté

The vulnerability was discovered and reported by CERT-PL, which published a technical advisory alongside related GNU Screen CVEs. Red Hat opened a tracking bug (Bugzilla #2584982) and is assessing impact on affected products. The disclosure generated moderate community attention on infosec social platforms such as Mastodon/infosec.exchange and was indexed by multiple threat intelligence aggregators shortly after publication (Red Hat Bugzilla).

Ressources supplémentaires

État de correction de la distribution Linux

Corrigez la disponibilité entre les grandes distributions Linux et leurs versions.

RHEL / CentOS

Inconnu

Source: Ce rapport a été généré à l’aide de l’IA

Connexe Linux Red Hat Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-137653MEDIUM6.5
  • Linux Red Hat logoLinux Red Hat
  • spice-server
NonNonNov 26, 2026
CVE-2026-135107MEDIUM6.5
  • Samba logoSamba
  • ctdb-tests
NonNonNov 26, 2026
CVE-2026-71411MEDIUM5.5
  • Linux Red Hat logoLinux Red Hat
  • screen
NonNonNov 26, 2026
CVE-2026-71409MEDIUM4.6
  • Linux Red Hat logoLinux Red Hat
  • screen
NonNonNov 26, 2026
CVE-2026-71410LOW2.1
  • Linux Red Hat logoLinux Red Hat
  • screen
NonNonNov 26, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités