CVE-2026-22701
CVE-2026-22701 · filelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
CVSS 5.3 · Media · EPSS 0,1% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · python
Productos y versiones afectados
filelock
- Versiones
- < 3.20.3: Afectada
Sin corrección publicada
python-filelock Debian:12
- Versiones
- 3.9.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.9.0-1+deb12u1
Actualiza a 3.9.0-1+deb12u1
python-filelock Debian:13
- Versiones
- 3.18.0-1
- 3.18.0-1+deb13u1
- 3.19.1-1
- 3.20.0-1
- 3.20.2-1
- 3.20.3-1
- 3.24.3-1
- 3.25.0-1
- 3.25.2-1
- 3.29.0-1
- 3.29.4-1
- 3.29.5-1
- 3.29.7-1
- 3.32.0-1
- 3.32.2-1
- 3.32.4-1
- 3.32.4-2
- 3.32.5-1
- 3.32.6-1
- 4.0.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
python-filelock Debian:14
- Versiones
- 3.18.0-1
- 3.19.1-1
- 3.20.0-1
- 3.20.2-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.20.3-1
Actualiza a 3.20.3-1
filelock PyPI
- Versiones
- 0.2.0
- 0.2.1
- 0.2.2
- 1.0.0
- 1.0.1
- 1.0.2
- 1.0.3
- 2.0.0
- 2.0.1
- 2.0.10
- 2.0.11
- 2.0.12
- 2.0.13
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.9
- 3.0.0
- 3.0.10
- 3.0.12
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.6
- 3.0.8
- 3.0.9
- 3.1.0
- 3.10.0
- 3.10.1
- 3.10.2
- 3.10.3
- 3.10.4
- 3.10.5
- 3.10.6
- 3.10.7
- 3.11.0
- 3.12.0
- 3.12.1
- 3.12.2
- 3.12.3
- 3.12.4
- 3.13.0
- 3.13.1
- 3.13.2
- 3.13.3
- 3.13.4
- 3.14.0
- 3.15.0
- 3.15.1
- 3.15.2
- 3.15.3
- 3.15.4
- 3.16.0
- 3.16.1
- 3.17.0
- 3.18.0
- 3.19.1
- 3.2.0
- 3.2.1
- 3.20.0
- 3.20.1
- 3.20.2
- 3.3.0
- 3.3.1
- 3.3.2
- 3.4.0
- 3.4.1
- 3.4.2
- 3.5.0
- 3.5.1
- 3.6.0
- 3.7.0
- 3.7.1
- 3.8.0
- 3.8.1
- 3.8.2
- 3.9.0
- 3.9.1
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.20.3
Actualiza a 3.20.3
python-filelock Ubuntu:Pro:18.04:LTS
- Versiones
- 2.0.11-1
- 2.0.12-1
- 2.0.13-1
- 3.0.0-2
- 3.0.3-1
- 3.0.4-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.0.4-1ubuntu0.1~esm1
Actualiza a 3.0.4-1ubuntu0.1~esm1
python-filelock Ubuntu:Pro:22.04:LTS
- Versiones
- 3.0.12-2
- 3.3.2-1
- 3.4.0-1
- 3.4.2-1
- 3.4.2-2
- 3.6.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.6.0-1ubuntu0.1~esm1
Actualiza a 3.6.0-1ubuntu0.1~esm1
python-filelock Ubuntu:Pro:24.04:LTS
- Versiones
- 3.12.2-1
- 3.12.4-1
- 3.13.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.13.1-1ubuntu0.1~esm1
Actualiza a 3.13.1-1ubuntu0.1~esm1
python-filelock Ubuntu:25.10
- Versiones
- 3.18.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
python-filelock Ubuntu:26.10
- Versiones
- 3.20.3-1
- 3.29.4-1
- 3.32.0-1
- 3.32.2-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
python-filelock Ubuntu:26.04:LTS
- Versiones
- 3.18.0-1
- 3.20.0-1
- 3.20.2-1
- 3.20.3-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada