Vulnerability · Published Nov 5, 2026 · Assigned by GitHub_M
CVE-2026-112908filelock: StrictSoftFileLock creates its claim directories without the lock mode, so another local user with a write bit on them can end a live hold
Medium 5.3
In plain English
A medium-severity incorrect permission assignment in filelock from tox-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
filelock is a platform-independent file lock for Python. From version 3.30.0 until version 4.2.1, StrictSoftFileLock and AsyncStrictSoftFileLock on POSIX systems create coordination and claim directories without applying the caller’s restrictive lock mode. A permissive umask or inherited default ACL can leave these directories writable by another local user, allowing that user to delete an active holder’s claims. Another authorized process can then acquire the lock while the original holder remains in its critical section. An attacker can also plant malformed claims to prevent acquisition. This issue is fixed in version 4.2.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-filelock | no fix listed | DEBIAN-CVE-2026-112908 |
| Debian:13 | python-filelock | no fix listed | DEBIAN-CVE-2026-112908 |
| Debian:14 | python-filelock | no fix listed | DEBIAN-CVE-2026-112908 |
| PyPI | filelock | 4.2.1 | GHSA-6627-m3xw-93mp |
| Ubuntu:26.04:LTS | python-filelock | no fix listed | UBUNTU-CVE-2026-112908 |
| Ubuntu:26.10 | python-filelock | no fix listed | UBUNTU-CVE-2026-112908 |
Affected products (as reported)
Weakness: CWE-732 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
References
- https://github.com/tox-dev/filelock/security/advisories/GHSA-6627-m3xw-93mp x_refsource_CONFIRM
- https://github.com/tox-dev/filelock/pull/839 x_refsource_MISC
- https://github.com/tox-dev/filelock/commit/8cf51802158b9cf7e1fc560c2da30491a662cfde x_refsource_MISC
- https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03 x_refsource_MISC
- https://github.com/tox-dev/filelock/releases/tag/4.2.1 x_refsource_MISC