{"id":"CVE-2026-144340","aliases":["AZL-118747","DEBIAN-CVE-2026-144340","EUVD-2026-143585","GHSA-c7vg-7rqj-fjhq"],"status":"published","title":"filelock: Untrusted lock waits can stall release of private async locks","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. This issue is fixed in version 4.3.0.","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00212,"percentile":0.12132,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-410"],"published":"2026-12-03T18:44:13Z","modified":"2026-12-04T21:39:17Z","fixes":[{"ecosystem":"PyPI","package":"filelock","fixed_in":["4.3.0"],"sources":["ghsa"]},{"ecosystem":"Debian:14","package":"python-filelock","fixed_in":["4.3.1-1"],"sources":["osv"]}],"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"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-filelock","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.12.2-1","3.12.3-1","3.12.4-1","3.13.1-1","3.13.3-1","3.13.4-1","3.14.0-1","3.15.4-1","3.16.1-1","3.16.1-2","3.17.0-1","3.18.0-1","3.19.1-1","3.20.0-1","3.20.2-1","3.20.3-1","3.24.3-1","3.25.0-1","3.25.2-1","3.29.0-1","3.29.4-1","3.29.5-1","3.29.7-1","3.32.0-1","3.32.2-1","3.32.4-1","3.32.4-2","3.32.5-1","3.32.6-1","3.9.0-1","3.9.0-1+deb12u1","4.0.1-1","4.0.12-1","4.1.1-1","4.2.10-1","4.2.8-1","4.3.1-1"]},{"source":"osv","ecosystem":"Debian:13","package":"python-filelock","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0-1","3.18.0-1+deb13u1","3.19.1-1","3.20.0-1","3.20.2-1","3.20.3-1","3.24.3-1","3.25.0-1","3.25.2-1","3.29.0-1","3.29.4-1","3.29.5-1","3.29.7-1","3.32.0-1","3.32.2-1","3.32.4-1","3.32.4-2","3.32.5-1","3.32.6-1","4.0.1-1","4.0.12-1","4.1.1-1","4.2.10-1","4.2.8-1","4.3.1-1"]},{"source":"osv","ecosystem":"Debian:14","package":"python-filelock","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.1-1"}]}],"versions":["3.18.0-1","3.19.1-1","3.20.0-1","3.20.2-1","3.20.3-1","3.24.3-1","3.25.0-1","3.25.2-1","3.29.0-1","3.29.4-1","3.29.5-1","3.29.7-1","3.32.0-1","3.32.2-1","3.32.4-1","3.32.4-2","3.32.5-1","3.32.6-1","4.0.1-1","4.0.12-1","4.1.1-1","4.2.10-1","4.2.8-1"]}],"products":[{"vendor":"tox-dev","product":"filelock"}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-c7vg-7rqj-fjhq","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/tox-dev/filelock/pull/1073","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tox-dev/filelock/commit/80485f8e43c13bc7f84bbdbd4b58d4b227ddb7de","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-144340","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-c7vg-7rqj-fjhq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144340.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-144340","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-144340","title":"filelock: Untrusted lock waits can stall release of private async locks","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T18:44:13.219Z","modified":"2026-12-03T18:44:13.219Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-410"],"updated_at":"2026-12-03T18:54:02.926747Z"}],"euvd":[{"id":"EUVD-2026-143585","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T18:44:13Z","modified":"2026-12-03T18:44:13Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-12-03T20:34:20.045947Z"}],"ghsa":[{"id":"GHSA-c7vg-7rqj-fjhq","title":"filelock: Untrusted lock waits can stall release of private async locks","description":"## Impact\n\nConcurrent `AsyncSoftReadWriteLock` waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory.\n\n## Affected versions and mitigation\n\nConfirmed affected: `= 4.2.12`. Upgrade to `4.3.0`.\n\nEach soft reader/writer wrapper now has a worker of its own by default. If the application supplies a shared executor, keep a worker available for releases. Limit concurrent waits and keep lock directories private or use appropriately protected sticky directories. [Fix in PR #1073](https://github.com/tox-dev/filelock/pull/1073)\n\n## Credits\n\nScan `filelock-20261116-009`; finding `ANT-2026-O69ASZD0`.","status":"published","published":"2026-12-04T21:39:17Z","modified":"2026-12-04T21:39:17Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-410"],"updated_at":"2026-12-04T21:59:20.06816Z"}],"nvd":[{"id":"CVE-2026-144340","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T19:17:32.04Z","modified":"2026-12-04T15:47:41.367Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-410"],"updated_at":"2026-12-03T19:19:37.203737Z"}],"osv":[{"id":"CVE-2026-144340","title":"filelock: Untrusted lock waits can stall release of private async locks","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T18:44:13.219Z","modified":"2026-12-04T21:02:46.87548091Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-410"],"updated_at":"2026-12-04T21:27:50.529822Z"},{"id":"DEBIAN-CVE-2026-144340","upstream":["CVE-2026-144340"],"description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T19:17:32.04Z","modified":"2026-12-04T04:01:42.199356647Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-12-04T04:25:31.919131Z"},{"id":"AZL-118747","upstream":["CVE-2026-144340"],"title":"CVE-2026-144340 affecting package python-filelock 3.20.3-4","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, concurrent AsyncSoftReadWriteLock waits could occupy every worker in the default executor and delay the release of an unrelated private lock in the same process. This requires enough simultaneous waits and a workload that uses lock paths another account can influence, such as a group-writable, non-sticky directory. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T19:17:32Z","modified":"2026-12-04T14:18:41.717035907Z","updated_at":"2026-12-04T14:45:54.674762Z"}]}}
