Technical impact
The flaw in the SoftFileLock implementation on Windows creates a race condition where a stale lock marker file can be held by an oplock that never breaks. When another process or task attempts to acquire the same lock, the acquire call blocks past its prescribed timeout, effectively hanging the waiting operation. This makes any code path that relies on timely lock acquisition stall, which can reduce throughput or cause a service to stop responding. The vulnerability does not corrupt data or expose sensitive information, but it can lead to application hang or degraded availability.
Affected Systems
The issue affects the Python filelock library distributed by tox‑dev, specifically versions 3.22.0 through 4.2.1. Windows users who use the SoftFileLock or asynchronous variants of the lock class are impacted; other operating systems or the hard‑lock variants are not affected.
Risk and Exploitability
The CVSS score of 2.5 categorizes the risk as low, and the EPSS score is not available, indicating no known high exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector is a local Windows account with read access to the lock marker file, which could hold an oplock and force competing processes to exceed their timeout. An attacker who has local Windows account access and can read the lock marker file can purposely hold an oplock, forcing competing processes to exceed their timeout. While the attack is confined to the local environment and does not grant broader system compromise, it can still interrupt critical workflows if lock waits are part of a time‑sensitive process.
Github GHSA