{"id":"CVE-2026-112907","state":"PUBLISHED","title":"filelock: On Windows an oplock on a soft lock's marker holds SoftFileLock.acquire() past its timeout and blocks the stale break","description":"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.","publishedAt":"2026-11-05T21:50:04.632Z","updatedAt":"2026-11-10T04:38:44.175Z","severity":{"score":2.5,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["tox-dev filelock"],"affected":[{"vendor":"tox-dev","product":"filelock","versions":[{"version":">= 3.22.0, < 4.2.1","status":"affected"}]}],"references":["https://github.com/tox-dev/filelock/security/advisories/GHSA-567q-5qvw-pf92","https://github.com/tox-dev/filelock/pull/835","https://github.com/tox-dev/filelock/commit/97d694a9a3ee1721d6c79a480174dfd9b060a080","https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a","https://github.com/tox-dev/filelock/releases/tag/4.2.1"],"weaknesses":["CWE-667"],"ingestedAt":"2026-11-10T04:46:06.262Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/112xxx/CVE-2026-112907.json","commit":"d685ad56e0a346f869a5c864fbb266d8c9f38ceb","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-112907","state":"PUBLISHED","datePublished":"2026-11-05T21:50:04.632Z","dateUpdated":"2026-11-10T04:38:44.175Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-19T20:16:09.857Z"},"containers":{"cna":{"title":"filelock: On Windows an oplock on a soft lock's marker holds SoftFileLock.acquire() past its timeout and blocks the stale break","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"tox-dev","product":"filelock","versions":[{"version":">= 3.22.0, < 4.2.1","status":"affected"}]}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-567q-5qvw-pf92","name":"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","name":"https://github.com/tox-dev/filelock/pull/835","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/97d694a9a3ee1721d6c79a480174dfd9b060a080","name":"https://github.com/tox-dev/filelock/commit/97d694a9a3ee1721d6c79a480174dfd9b060a080","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a","name":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","name":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":2.5,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-667","lang":"en","description":"CWE-667: Improper Locking","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-05T21:50:04.632Z"},"source":{"advisory":"GHSA-567q-5qvw-pf92","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-567q-5qvw-pf92","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-10T04:38:09.727508Z","id":"CVE-2026-112907","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-10T04:38:44.175Z"}}]}}}