{"id":"CVE-2026-112907","summary":"filelock: On Windows an oplock on a soft lock's marker holds SoftFileLock.acquire() past its timeout and blocks the stale break","details":"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.","aliases":["GHSA-567q-5qvw-pf92"],"modified":"2026-11-11T02:30:42.926905734Z","published":"2026-11-05T21:50:04.632Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-667"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112907.json"},"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112907.json"},{"type":"ADVISORY","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-567q-5qvw-pf92"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112907"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/commit/97d694a9a3ee1721d6c79a480174dfd9b060a080"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/pull/835"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tox-dev/filelock","events":[{"introduced":"1dd2465cef7e5c189feaa16698a3ec3f33a653b0"},{"fixed":"60331bb89f325020b48bc51bde904c6446384e4a"},{"fixed":"97d694a9a3ee1721d6c79a480174dfd9b060a080"},{"fixed":"e1e825b1992f69fb6b346dc395d5ae4893536c0a"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"3.22.0"},{"fixed":"4.2.1"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"97d694a9a3ee1721d6c79a480174dfd9b060a080"}]},{"range":[{"fixed":"e1e825b1992f69fb6b346dc395d5ae4893536c0a"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"60331bb89f325020b48bc51bde904c6446384e4a"}],"source":"REFERENCES_TAG","original_tag":"4.2.1"}]}}],"versions":["4.2.0","4.1.2","4.1.1","4.1.0","4.0.12","4.0.11","4.0.10","4.0.9","4.0.8","4.0.7","4.0.6","4.0.5","4.0.4","4.0.3","4.0.2","4.0.1","4.0.0","3.32.7","3.32.6","3.32.5","3.32.4","3.32.3","3.32.2","3.32.1","3.32.0","3.31.2","3.31.1","3.31.0","3.30.3","3.30.2","3.30.1","3.30.0","3.29.7","3.29.6","3.29.5","3.29.4","3.29.3","3.29.2","3.29.1","3.29.0","3.28.0","3.27.0","3.26.1","3.26.0","3.25.2","3.25.1","3.25.0","3.24.4","3.24.3","3.24.2","3.24.1","3.24.0","3.23.0","3.22.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112907.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}]}