CVE-2026-112935

MEDIUM CVSS 3.1: 4.7 EPSS 0.13%
Updated Oct 28, 2026
Python
Parameter Value
CVSS 4.7 (MEDIUM)
Affected Versions 3.22.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 3.22.0 until 4.2.1, SoftFileLock can break a stale marker after an attacker frees its own marker following the stale read, an honest contender creates a live successor on the reused inode, and the successor's modification time is not newer than the saved observation, causing the live marker to be removed and two holders to be admitted. This issue is fixed in version 4.2.1.

Attack Parameters

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

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete 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:*:*
3.22.0 4.2.1