{"id":"CVE-2026-112937","summary":"filelock: ReadWriteLock on the hard-link route deletes any directory another user renames onto its .filelock-* link directory name","details":"filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, ReadWriteLock can remove a randomized .filelock-* private-hard-link directory during cleanup, allowing another local user with rename access in a non-sticky parent to observe a live name or forge a dead-owner sweep name and rename a sibling directory onto it for deletion. This issue is fixed in version 4.2.1.","aliases":["GHSA-jqc4-5cvw-7w85"],"modified":"2026-10-22T02:47:54.693422190Z","published":"2026-10-20T14:36:28.129Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-367"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112937.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112937.json"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"},{"type":"FIX","url":"https://github.com/tox-dev/filelock/pull/834"},{"type":"WEB","url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"},{"type":"ADVISORY","url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-jqc4-5cvw-7w85"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112937"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tox-dev/filelock","events":[{"introduced":"6c0ecc28f898f08cd0438cd489c3eaabad79a4b7"},{"fixed":"60331bb89f325020b48bc51bde904c6446384e4a"},{"fixed":"5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"4.1.0"},{"fixed":"4.2.1"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"}],"source":"REFERENCES_COMMIT"},{"original_tag":"4.2.1","range":[{"fixed":"60331bb89f325020b48bc51bde904c6446384e4a"}],"source":"REFERENCES_TAG"}]}}],"versions":["4.2.0","4.1.2","4.1.1","4.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112937.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"}]}