CVE-2026-112941

LOW CVSS 3.1: 3.3 EPSS 0.13%
Updated Oct 28, 2026
Python
Parameter Value
CVSS 3.3 (LOW)
Affected Versions 4.1.0 — 4.2.1
Fixed In 4.2.1
Type CWE-367 (Time-of-check Time-of-use (TOCTOU))
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Tox-Dev Filelock
cpe:2.3:a:tox-dev:filelock:*:*:*:*:*:python:*:*
4.1.0 4.2.1