{"id":"CVE-2026-112907","published":"2026-11-05T21:50:04Z","modified":"2026-11-10T04:38:44Z","title":"filelock: On Windows an oplock on a soft lock's marker holds SoftFileLock.acquire() past its timeout and blocks the…","vendor":"tox-dev","product":"filelock","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00158,"percentile":0.04994,"provenance":"source"},"cwes":[{"id":"CWE-667","name":"Improper Locking"}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-567q-5qvw-pf92","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tox-dev/filelock/pull/835","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/97d694a9a3ee1721d6c79a480174dfd9b060a080","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":1.0},{"name":"CVSS severity","points":1.75}]},"vendorSlug":"tox-dev","affectedVersions":[{"vendor":"tox-dev","product":"filelock","versions":[">= 3.22.0, < 4.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-10T04:38:09.727508Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"filelock","vulnerableRanges":[">=3.22.0, <4.2.1"],"patched":["4.2.1"],"from":["GHSA-567q-5qvw-pf92"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-117813","exploited":false,"provenance":"source"}}