CVE Catalog

CVE-2026-112907

LowCVSS 2.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

In filelock for Python from 3.22.0 until 4.2.1, soft lock classes on Windows read an existing marker with _read_lock_file and remove a stale marker through break_lock_file using pathname operations that wait for an oplock break. Another local account with read access to an unheld marker can keep a Level 1 or batch oplock unanswered, causing SoftFileLock.acquire and related async or fallback locks to wait beyond timeout, blocking=False, and cancel_check. A stale marker under the oplock cannot be broken, but mutual exclusion remains intact and no file other than the marker is accessed. It is fixed in version 4.2.1.

Risk Assessment

Another local account can cause soft lock acquisition to hang or be delayed, leading to denial of service for applications relying on filelock. Mutual exclusion remains intact, and the impact is limited to availability.

Recommendation

Update filelock to version 4.2.1 or later. Restrict other accounts' access to directories where lock marker files are stored.

Other vulnerabilities in filelock

See all
Original NVD description (English source)

filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, soft lock classes on Windows read an existing marker with _read_lock_file and remove a stale marker through break_lock_file using pathname operations that wait for an oplock break. Another local account with read access to an unheld marker can keep a Level 1 or batch oplock unanswered, causing SoftFileLock.acquire and related async or fallback locks to wait beyond timeout, blocking=False, and cancel_check. A stale marker under the oplock cannot be broken, but mutual exclusion remains intact and no file other than the marker is accessed. This issue is fixed in version 4.2.1.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS