CVE-2026-112940: tox-dev filelock Race Condition Enabling Link Following
CVSS: 7.1v3.1HighReceived
Published 20-10-2026Last modified 20-10-2026
Vulnerability summary
CVE-2026-112940 is a high (CVSS 7.1) Race Condition Enabling Link Following vulnerability in tox-dev filelock.
CVSS score
7.1/10
010
High · v3.1 (CVE.org)EPSS score
Not scored
0%100%
No EPSS score yetKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 20-10-2026PublishedVulnerability first disclosed.
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.
CVSS metrics
2 scores · 2 sources · 1 versionHigh 7.1Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HSourcesAll 2 agree
- NVDNIST7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS trend
No EPSS score has been published for this record yet.
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Tox-dev1 product
- filelock≥ 3.20.4, < 4.2.1
1 vendor · 1 product
References
4 links- github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8X Refsource CONFIRM
- github.com/tox-dev/filelock/pull/834X Refsource MISC
- github.com/tox-dev/filelock/releases/tag/4.2.1X Refsource MISC