{"id":"CVE-2026-144349","aliases":["GHSA-jcf5-mpj4-xfg8"],"url":"https://o3.security/vulnerability/CVE-2026-144349","summary":"filelock: ReadWriteLock can remove unrelated empty directories","details":"## Impact\n\nOn POSIX, `ReadWriteLock` can remove empty directories from an unrelated directory owned by the locking account. This requires a shared parent without the sticky bit where another local account can rename directories. The confirmed impact is confined to empty directories.\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. Cleanup verifies that it removed a link to the lock database before removing directories. An interrupted acquisition can leave an empty directory behind without blocking future acquisitions. [PR #973](https://github.com/tox-dev/filelock/pull/973)\n\n## Workaround\n\nUse a parent directory where untrusted accounts cannot rename entries.\n\n## Credits\n\nReported by OSS Scanner (ANT-2026-KHP4PR98).","published":"2026-12-03T18:49:25.934Z","modified":"2026-12-05T20:45:47.867046178Z","cvss":{"score":4.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"},"epss":{"score":0.00277,"percentile":0.21505,"asOf":"2026-12-04"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"filelock","fixedVersion":"4.3.0"}],"fix":{"url":"https://github.com/tox-dev/filelock/commit/f000cc7dc095718273ae26c959072c0d9a50ff7d","label":"tox-dev/filelock@f000cc7"},"references":[{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.3.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144349.json"},{"type":"ADVISORY","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-jcf5-mpj4-xfg8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144349"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/commit/f000cc7dc095718273ae26c959072c0d9a50ff7d"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/pull/973"},{"type":"PACKAGE","url":"https://github.com/tox-dev/filelock"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-12-05T20:45:47.867046178Z"}}