CVE-2026-112940
CVE-2026-112940 · filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files
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. From 3.20.4 until 4.2.1, ReadWriteLock let SQLite reopen the database and side files by name; on POSIX systems an attacker with rename access in a non-sticky parent can swap those names to cause overwrite or unlink operations, while a writable adjacent hot journal is additionally required for attacker-chosen content overwrites. This issue is fixed in version 4.2.1.
CVSS 7.1 · Alta · EPSS 0,2% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · python
Productos y versiones afectados
filelock
- Versiones
- >= 3.20.4, < 4.2.1: Afectada
Sin corrección publicada
python-filelock Debian:12
- Versiones
- 3.12.2-1
- 3.12.3-1
- 3.12.4-1
- 3.13.1-1
- 3.13.3-1
- 3.13.4-1
- 3.14.0-1
- 3.15.4-1
- 3.16.1-1
- 3.16.1-2
- 3.17.0-1
- 3.18.0-1
- 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
- 3.9.0-1
- 3.9.0-1+deb12u1
- 4.0.1-1
- 4.0.12-1
- 4.1.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
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
- 4.0.12-1
- 4.1.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
- 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
- 4.0.12-1
- 4.1.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
filelock PyPI
- Versiones
- 3.20.4
- 3.21.0
- 3.21.1
- 3.21.2
- 3.22.0
- 3.23.0
- 3.24.0
- 3.24.1
- 3.24.2
- 3.24.3
- 3.25.0
- 3.25.1
- 3.25.2
- 3.28.0
- 3.29.0
- 3.29.1
- 3.29.2
- 3.29.3
- 3.29.4
- 3.29.5
- 3.29.6
- 3.29.7
- 3.30.0
- 3.30.1
- 3.30.2
- 3.30.3
- 3.31.0
- 3.31.1
- 3.31.2
- 3.32.0
- 3.32.2
- 3.32.3
- 3.32.4
- 3.32.5
- 3.32.6
- 3.32.7
- 4.0.0
- 4.0.1
- 4.0.10
- 4.0.11
- 4.0.12
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.8
- 4.0.9
- 4.1.0
- 4.1.1
- 4.1.2
- 4.2.0
- Intervalos de versiones afectados
- ECOSYSTEM: ≥ 3.20.4, < 4.2.1
Actualiza a 4.2.1
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
- 3.0.4-1ubuntu0.1~esm1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
python-filelock Ubuntu:Pro:20.04:LTS
- Versiones
- 3.0.12-1
- 3.0.12-2
- 3.0.12-2ubuntu0.1~esm1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
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
- 3.6.0-1ubuntu0.1~esm1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
python-filelock Ubuntu:Pro:24.04:LTS
- Versiones
- 3.12.2-1
- 3.12.4-1
- 3.13.1-1
- 3.13.1-1ubuntu0.1~esm1
- 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
Fuentes originales
- https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8
- https://github.com/tox-dev/filelock/pull/834
- https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d
- https://github.com/tox-dev/filelock/releases/tag/4.2.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-112940