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

CVE-2026-22701

filelock is a platform-independent file lock for Python. Prior to version 3.20.3, a TOCTOU race condition…

Publiée le 10 janv. 2026 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 22/100

Résumé

filelock is a platform-independent file lock for Python. Prior to version 3.20.3, a TOCTOU race condition vulnerability exists in the SoftFileLock implementation of the filelock package. An attacker with local filesystem access and permission to create symlinks can exploit a race condition between the permission validation and file creation to cause lock operations to fail or behave unexpectedly. The vulnerability occurs in the _acquire() method between raise_on_not_writable_file() (permission check) and os.open() (file creation). During this race window, an attacker can create a symlink at the lock file path, potentially causing the lock to operate on an unintended target file or leading to denial of service. This issue has been patched in version 3.20.3.

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

Produits et versions affectés

Tox-dev (1 ligne(s))
Tox-dev
ProduitVersionsCorrigé dansSource
Filelock avant 3.20.3 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

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-1486)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1539)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1576)

Avis CERT-FR

Références

Provenance des données

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

Comment sont obtenues et calculées ces données