{"id":"CVE-2026-144351","aliases":["DEBIAN-CVE-2026-144351","EUVD-2026-143592","GHSA-69rv-9gxw-r2jh"],"status":"published","title":"filelock: SoftFileLock recovery can admit two holders through a foreign-owned record","description":"filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, during stale-marker recovery, SoftFileLock can admit two holders when a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. This issue is fixed in version 4.3.0.","severity":{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00204,"percentile":0.10945,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-367"],"published":"2026-12-03T18:52:13Z","modified":"2026-12-04T22:42:52Z","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":"4.2.1"},{"last_affected":"4.2.12"},{"fixed":"4.3.0"}]}]},{"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-69rv-9gxw-r2jh","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/tox-dev/filelock/pull/975","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tox-dev/filelock/commit/dc52a59fe437d6470e24127759af30a0952bab6a","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-144351","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-69rv-9gxw-r2jh"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144351.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-144351","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-144351","title":"filelock: SoftFileLock recovery can admit two holders through a foreign-owned record","description":"filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, during stale-marker recovery, SoftFileLock can admit two holders when a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T18:52:13.245Z","modified":"2026-12-03T19:12:30.028Z","cvss":[{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"low","assessor":"cna"}],"cwes":["CWE-367"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T19:25:00.01661Z"}],"euvd":[{"id":"EUVD-2026-143592","description":"filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, during stale-marker recovery, SoftFileLock can admit two holders when a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T18:52:13Z","modified":"2026-12-03T19:12:30Z","cvss":[{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"low"}],"updated_at":"2026-12-03T20:34:19.386759Z"}],"ghsa":[{"id":"GHSA-69rv-9gxw-r2jh","title":"filelock: SoftFileLock recovery can admit two holders through a foreign-owned record","description":"## Impact\n\nDuring stale-marker recovery, `SoftFileLock` can admit two holders if another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock.\n\n## Affected versions and fix\n\nVersions 4.2.1 through 4.2.12 are affected. Upgrade to filelock `4.3.0` or later. Recovery keeps foreign-owned records away from the public lock path. [PR #975](https://github.com/tox-dev/filelock/pull/975)\n\n## Workaround\n\nKeep the lock in a directory writable only by trusted participants.\n\n## Credits\n\nReported by OSS Scanner (ANT-2026-5VU02NND).","status":"published","published":"2026-12-04T22:42:51Z","modified":"2026-12-04T22:42:52Z","cvss":[{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"low"}],"cwes":["CWE-367"],"updated_at":"2026-12-04T22:59:48.349285Z"}],"nvd":[{"id":"CVE-2026-144351","description":"filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, during stale-marker recovery, SoftFileLock can admit two holders when a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T19:17:32.953Z","modified":"2026-12-04T15:47:41.367Z","cvss":[{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"low","assessor":"secondary"}],"cwes":["CWE-367"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T20:20:46.999493Z"}],"osv":[{"id":"CVE-2026-144351","title":"filelock: SoftFileLock recovery can admit two holders through a foreign-owned record","description":"filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, during stale-marker recovery, SoftFileLock can admit two holders when a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T18:52:13.245Z","modified":"2026-12-04T21:02:47.332248383Z","cvss":[{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"low"}],"cwes":["CWE-367"],"updated_at":"2026-12-04T21:27:50.529822Z"},{"id":"DEBIAN-CVE-2026-144351","upstream":["CVE-2026-144351"],"description":"filelock is a platform-independent file lock for Python. From 4.2.1 until 4.3.0, during stale-marker recovery, SoftFileLock can admit two holders when a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. This issue is fixed in version 4.3.0.","status":"published","published":"2026-12-03T19:17:32.953Z","modified":"2026-12-04T04:01:44.346921176Z","cvss":[{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","level":"low"}],"updated_at":"2026-12-04T04:25:31.919131Z"}]}}
