CVE-2026-112937Tox Dev Filelock time-of-check time-of-use race condition
CVSS score
6.1
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.16%
0.16% chance of exploitation in the next 30 days, higher than 5.36% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, ReadWriteLock can remove a randomized .filelock-* private-hard-link directory during cleanup, allowing another local user with rename access in a non-sticky parent to observe a live name or forge a dead-owner sweep name and rename a sibling directory onto it for deletion. This issue is fixed in version 4.2.1.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running tox-dev Filelock and compare its version with the affected versions.
Update to a fixed version
- Update Filelock to 4.2.1 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Affected products
| Affected products | Versions |
|---|---|
| tox-dev Filelock | ≥ 4.1.0, < 4.2.1 · >= 4.1.0, < 4.2.1 |
Weakness
- CWE-367 time-of-check time-of-use race condition
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-112937 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-112937?
CVE-2026-112937 has a CVSS 3.1 base score of 6.1 (medium).
Which versions are affected?
Tox Dev Filelock (≥ 4.1.0, < 4.2.1; >= 4.1.0, < 4.2.1)
Is there a patch for CVE-2026-112937?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d(Patch)
- github.com/tox-dev/filelock/pull/834(Patch)
- github.com/tox-dev/filelock/security/advisories/GHSA-jqc4-5cvw-7w85(Exploit, Mitigation, Patch)
- github.com/tox-dev/filelock/releases/tag/4.2.1(Release Notes)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.