{"id":"GHSA-69rv-9gxw-r2jh","summary":"filelock: SoftFileLock recovery can admit two holders through a foreign-owned record","details":"## 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).","aliases":["CVE-2026-144351"],"modified":"2026-12-05T18:48:25.171425725Z","published":"2026-12-04T22:42:51Z","database_specific":{"github_reviewed_at":"2026-12-04T22:42:51Z","nvd_published_at":"2026-12-03T19:17:32Z","cwe_ids":["CWE-367"],"severity":"LOW","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-69rv-9gxw-r2jh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144351"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/pull/975"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/commit/dc52a59fe437d6470e24127759af30a0952bab6a"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.3.0"}],"affected":[{"package":{"name":"filelock","ecosystem":"PyPI","purl":"pkg:pypi/filelock"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.1"},{"fixed":"4.3.0"}]}],"versions":["4.2.1","4.2.10","4.2.11","4.2.12","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 4.2.12","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-69rv-9gxw-r2jh/GHSA-69rv-9gxw-r2jh.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L"}]}