CVE-2026-112940Tox Dev Filelock link following
CVSS score
7.1
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.19%
0.19% chance of exploitation in the next 30 days, higher than 8.67% 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 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.
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
- High
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:H
Affected products
| Affected products | Versions |
|---|---|
| tox-dev Filelock | ≥ 3.20.4, < 4.2.1 · >= 3.20.4, < 4.2.1 |
Frequently asked questions
Is CVE-2026-112940 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-112940?
CVE-2026-112940 has a CVSS 3.1 base score of 7.1 (high).
Which versions are affected?
Tox Dev Filelock (≥ 3.20.4, < 4.2.1; >= 3.20.4, < 4.2.1)
Is there a patch for CVE-2026-112940?
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-v4x8-3wr5-3wq8(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.