CVE-2026-112941
Published:October 20, 2026
Updated:October 22, 2026
filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftReadWriteLock and AsyncSoftReadWriteLock cache a successful check of the <path>.rw lock tree and resolve its names again during later record operations, allowing another local user who can replace that tree after the first acquisition to redirect lock-record writes into directories writable by the lock user. This issue is fixed in version 4.2.1.
Affected Packages
filelock (CONDA):
Affected version(s) >=4.1.0 <4.2.1Fix Suggestion:
Update to version 4.2.1https://github.com/tox-dev/filelock.git (GITHUB):
Affected version(s) >=4.1.0 <4.2.1Fix Suggestion:
Update to version 4.2.1filelock (PYTHON):
Affected version(s) >=4.1.0 <4.2.1Fix Suggestion:
Update to version 4.2.1Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
4.8
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Time-of-check Time-of-use (TOCTOU) Race Condition
EPSS
Base Score:
0.10