1. Accueil
  2. Vulnérabilités
  3. CVE-2026-18477

CVE-2026-18477

Tar: tar: toctou in incremental dumpdir 'x' rename handling allows restore path escape

Publiée le 3 août 2026 · modifiée le 5 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 18/100

Résumé

A TOCTOU (Time-of-Check Time-of-Use) vulnerability in GNU tar's incremental dumpdir 'X' rename handling allows a local attacker with write access to a directory being backed up to influence the restore process if the attacker has access to the system where the restore is being performed. During restoration, files or directories may be created, renamed or overwritten outside the intended extraction directory. This could lead to unauthorized file modification or, in some cases, privilege escalation. Exploitation does not require the attacker to modify or craft the archive, and standard backup and restore workflows—including extracting into a newly created directory without using the -P option do not mitigate the issue.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Redhat (14 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Hat Discovery 2 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 10 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 6 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 7 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 8 Versions non précisées — CNA (éditeur ou attributeur)
Hat Enterprise Linux 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat Hardened Images Versions non précisées — CNA (éditeur ou attributeur)
Hat OpenShift Container Platform 4 Versions non précisées — CNA (éditeur ou attributeur)
Hat OpenShift Container Platform 5 Versions non précisées — CNA (éditeur ou attributeur)
Hat Update Infrastructure 5 Versions non précisées — CNA (éditeur ou attributeur)
Enterprise linux 8.0 — NVD
Enterprise linux 9.0 — NVD
Enterprise linux 10.0 — NVD
Openshift container platform 4.0 — NVD
Gnu (1 ligne(s))
Gnu
ProduitVersionsCorrigé dansSource
Tar 1.35 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

Do not perform incremental restores (-G/-g) from untrusted archives. Avoid restoring incremental backups on systems where untrusted users have shell access,​ perform restoration only on systems inaccessible to users.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1472)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N (CVSS 3.1, CNA:secalert@redhat.com)
Faiblesse
CWE-367 · Autre (CWE-367)

Comment sont obtenues et calculées ces données