{"id":"CVE-2026-144339","aliases":["AZL-118744","EUVD-2026-143584","GHSA-57mc-wxv7-332q"],"status":"published","title":"filelock: Read-handle oplock stalls unrelated async tasks on Windows","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to a native lock file can delay a nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(run_in_executor=False), the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.","severity":{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00261,"percentile":0.19048,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1322"],"published":"2026-12-03T18:42:45Z","modified":"2026-12-04T21:38:41Z","fixes":[{"ecosystem":"PyPI","package":"filelock","fixed_in":["4.3.0"],"sources":["ghsa"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"filelock","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"python-filelock","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.20.3-4"}]}]}],"products":[{"vendor":"tox-dev","product":"filelock"}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-57mc-wxv7-332q","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/tox-dev/filelock/pull/1033","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tox-dev/filelock/commit/f6d1366d1c3b76f22109c772e3e2218b1815f769","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.3.0","tags":["x_refsource_MISC","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144339","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-57mc-wxv7-332q"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144339.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-144339","title":"filelock: Read-handle oplock stalls unrelated async tasks on Windows","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to a native lock file can delay a nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(run_in_executor=False), the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T18:42:45.368Z","modified":"2026-12-03T20:14:27.908Z","cvss":[{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"cna"}],"cwes":["CWE-1322"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T20:21:05.972773Z"}],"euvd":[{"id":"EUVD-2026-143584","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to a native lock file can delay a nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(run_in_executor=False), the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T18:42:45Z","modified":"2026-12-03T20:14:27Z","cvss":[{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-12-03T20:34:20.045947Z"}],"ghsa":[{"id":"GHSA-57mc-wxv7-332q","title":"filelock: Read-handle oplock stalls unrelated async tasks on Windows","description":"## Impact\n\nOn Windows, a local account with read access to a native lock file can delay a nonblocking or short-timeout `FileLock` acquisition. With `AsyncFileLock(run_in_executor=False)`, the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release.\n\n## Affected versions and mitigation\n\nConfirmed affected: `= 4.2.12`. Upgrade to `4.3.0`.\n\nThe acquisition loop now treats an oplock conflict as contention immediately. Nonblocking calls can raise `Timeout` even if the file becomes available shortly afterward. Restrict lock-file read access to trusted accounts and retain the default async executor. [Fix in PR #1033](https://github.com/tox-dev/filelock/pull/1033)\n\n## Credits\n\nScan `filelock-20261116-009`; finding `ANT-2026-F0PRXOX0`.","status":"published","published":"2026-12-04T21:38:39Z","modified":"2026-12-04T21:38:41Z","cvss":[{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"cwes":["CWE-1322"],"updated_at":"2026-12-04T21:59:20.06816Z"}],"nvd":[{"id":"CVE-2026-144339","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to a native lock file can delay a nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(run_in_executor=False), the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T19:17:31.87Z","modified":"2026-12-04T15:47:41.367Z","cvss":[{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"}],"cwes":["CWE-1322"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T21:23:58.882957Z"}],"osv":[{"id":"CVE-2026-144339","title":"filelock: Read-handle oplock stalls unrelated async tasks on Windows","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to a native lock file can delay a nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(run_in_executor=False), the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T18:42:45.368Z","modified":"2026-12-04T21:02:46.863894004Z","cvss":[{"version":"3.1","score":2.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"cwes":["CWE-1322"],"updated_at":"2026-12-04T21:27:50.529822Z"},{"id":"AZL-118744","upstream":["CVE-2026-144339"],"title":"CVE-2026-144339 affecting package python-filelock 3.20.3-4","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to a native lock file can delay a nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(run_in_executor=False), the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T19:17:31Z","modified":"2026-12-04T14:18:40.69569397Z","updated_at":"2026-12-04T14:45:54.674762Z"}]}}
