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 over…
- CVSS
- 7.1High
- Chance of exploitation (EPSS)
- 0.19%
- Published
- Oct 20, 2026
- In the news
- 1 story
What to do
A serious security flaw in Tox-dev Filelock that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Tox-dev Filelock
- >= 3.20.4, < 4.2.1
Description
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.
Affected products
Get alerts for these →Timeline 4
Latest change: Tenable Cloud Security plugin 477475: Chainguard: openstack-rally-2025.2: security update to 4.1.0-r7 (Oct 25, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Oct 26, 2026
Fri, Oct 23, 2026
Tue, Oct 20, 2026
- CVECVE-2026-112940 published (CVSS 7.1)CVE Program · 15:17 UTC
References 5
- github.com Patch /tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d
- github.com Patch /tox-dev/filelock/pull/834
- github.com ExploitMitigationPatchVendor Advisory /tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8
- github.com ExploitMitigationPatchVendor Advisory /tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8
- github.com /tox-dev/filelock/releases/tag/4.2.1