{"id":"CVE-2026-144389","aliases":["AZL-118786","EUVD-2026-143605","GHSA-6hxh-7x44-pwfg"],"status":"published","title":"filelock: Windows read-handle oplock holds stale soft-lock recovery past timeout","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 stale soft-lock marker can delay recovery beyond the caller’s acquisition timeout. This affects SoftFileLock, MarkerSoftFileLock and SoftFileLease when another process holds a read-handle opportunistic lock on the stale marker. 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.00209,"percentile":0.11678,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-412"],"published":"2026-12-03T19:11:15Z","modified":"2026-12-04T22:38:33Z","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-6hxh-7x44-pwfg","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/tox-dev/filelock/pull/984","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tox-dev/filelock/commit/59d46b0c2c2b8f66bd7342c304e8bbea5250df09","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-144389","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-6hxh-7x44-pwfg"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144389.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-144389","title":"filelock: Windows read-handle oplock holds stale soft-lock recovery past timeout","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 stale soft-lock marker can delay recovery beyond the caller’s acquisition timeout. This affects SoftFileLock, MarkerSoftFileLock and SoftFileLease when another process holds a read-handle opportunistic lock on the stale marker. 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:11:15.434Z","modified":"2026-12-03T20:23:19.394Z","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-412"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T20:27:11.388745Z"}],"euvd":[{"id":"EUVD-2026-143605","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 stale soft-lock marker can delay recovery beyond the caller’s acquisition timeout. This affects SoftFileLock, MarkerSoftFileLock and SoftFileLease when another process holds a read-handle opportunistic lock on the stale marker. 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:11:15Z","modified":"2026-12-03T20:23:19Z","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:19.386759Z"}],"ghsa":[{"id":"GHSA-6hxh-7x44-pwfg","title":"filelock: Windows read-handle oplock holds stale soft-lock recovery past timeout","description":"## Impact\n\nOn Windows, a local account with read access to a stale soft-lock marker can delay recovery beyond the caller’s acquisition timeout. This affects `SoftFileLock`, `MarkerSoftFileLock` and `SoftFileLease` when another process holds a read-handle opportunistic lock on the stale marker.\n\n## Affected version and mitigation\n\nThe confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later.\n\nFilelock now bounds the wait for the stale-marker rename and treats a canceled rename as contention. A single attempt, including a nonblocking one, can still spend roughly half a second in that rename. Restrict read access to the marker through its parent directory’s ACL. [Fix in PR #984](https://github.com/tox-dev/filelock/pull/984).\n\n## Credits\n\nReported by the filelock scanner: ANT-2026-82MUV4ZM.","status":"published","published":"2026-12-04T22:38:32Z","modified":"2026-12-04T22:38:33Z","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-412"],"updated_at":"2026-12-04T22:59:48.349285Z"}],"nvd":[{"id":"CVE-2026-144389","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 stale soft-lock marker can delay recovery beyond the caller’s acquisition timeout. This affects SoftFileLock, MarkerSoftFileLock and SoftFileLease when another process holds a read-handle opportunistic lock on the stale marker. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T20:17:46.063Z","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-412"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T21:23:58.882957Z"}],"osv":[{"id":"CVE-2026-144389","title":"filelock: Windows read-handle oplock holds stale soft-lock recovery past timeout","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 stale soft-lock marker can delay recovery beyond the caller’s acquisition timeout. This affects SoftFileLock, MarkerSoftFileLock and SoftFileLease when another process holds a read-handle opportunistic lock on the stale marker. 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:11:15.434Z","modified":"2026-12-04T21:02:47.043227581Z","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-412"],"updated_at":"2026-12-04T21:27:50.529822Z"},{"id":"AZL-118786","upstream":["CVE-2026-144389"],"title":"CVE-2026-144389 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 stale soft-lock marker can delay recovery beyond the caller’s acquisition timeout. This affects SoftFileLock, MarkerSoftFileLock and SoftFileLease when another process holds a read-handle opportunistic lock on the stale marker. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T20:17:46Z","modified":"2026-12-04T14:18:40.744858112Z","updated_at":"2026-12-04T14:45:54.674762Z"}]}}
