{"id":"CVE-2026-144394","aliases":["AZL-118798","DEBIAN-CVE-2026-144394","EUVD-2026-143614","GHSA-fff3-xpx8-wvvv"],"status":"published","title":"filelock: SoftReadWriteLock admits overlapping writers after directory inode reuse","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Linux, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. This issue is fixed in version 4.3.0.","severity":{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.0022,"percentile":0.13242,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-283"],"published":"2026-12-03T19:16:58Z","modified":"2026-12-04T22:19:44Z","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-fff3-xpx8-wvvv","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/tox-dev/filelock/pull/988","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tox-dev/filelock/commit/45ad9959a4ab8b78fc701db9b4947517f54fb232","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-144394","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-fff3-xpx8-wvvv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144394.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-144394","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-144394","title":"filelock: SoftReadWriteLock admits overlapping writers after directory inode reuse","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Linux, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T19:16:58.391Z","modified":"2026-12-03T20:27:08.036Z","cvss":[{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-283"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T20:39:39.184303Z"}],"euvd":[{"id":"EUVD-2026-143614","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Linux, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T19:16:58Z","modified":"2026-12-03T20:27:08Z","cvss":[{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-12-03T20:34:19.386759Z"}],"ghsa":[{"id":"GHSA-fff3-xpx8-wvvv","title":"filelock: SoftReadWriteLock admits overlapping writers after directory inode reuse","description":"## Impact\n\nOn Linux, two processes can both hold a `SoftReadWriteLock` write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification.\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 checks ownership and permissions each time it opens a protocol directory. Keep the lock tree in place while lock instances are in use. If the tree must be removed, stop the processes that used it before resuming lock operations. [Fix in PR #988](https://github.com/tox-dev/filelock/pull/988).\n\n## Credits\n\nOSS Scanner: ANT-2026-STIBT5PU.","status":"published","published":"2026-12-04T22:19:41Z","modified":"2026-12-04T22:19:44Z","cvss":[{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-283"],"updated_at":"2026-12-04T22:29:34.61237Z"}],"nvd":[{"id":"CVE-2026-144394","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Linux, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T20:17:46.747Z","modified":"2026-12-04T15:47:41.367Z","cvss":[{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-283"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T21:23:58.882957Z"}],"osv":[{"id":"CVE-2026-144394","title":"filelock: SoftReadWriteLock admits overlapping writers after directory inode reuse","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Linux, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T19:16:58.391Z","modified":"2026-12-04T21:02:47.00570333Z","cvss":[{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-283"],"updated_at":"2026-12-04T21:27:50.529822Z"},{"id":"DEBIAN-CVE-2026-144394","upstream":["CVE-2026-144394"],"description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Linux, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T20:17:46.747Z","modified":"2026-12-04T12:00:07.673883515Z","cvss":[{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-12-04T12:10:52.957116Z"},{"id":"AZL-118798","upstream":["CVE-2026-144394"],"title":"CVE-2026-144394 affecting package python-filelock 3.20.3-4","description":"filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Linux, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T20:17:46Z","modified":"2026-12-04T14:18:40.794753662Z","updated_at":"2026-12-04T14:45:54.674762Z"}]}}
