{"id":"CVE-2026-112909","published":"2026-10-20T14:16:02Z","modified":"2026-10-22T21:25:25Z","title":"filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path","vendor":"tox-dev","product":"filelock","tier":"tail","description":{"text":"filelock is a platform-independent file lock for Python. Prior to 4.2.1, UnixFileLock can truncate a regular file renamed onto the lock path when another local user has actual rename permission, or hard-linked there under a permissive hard-link policy; when an explicit mode is requested, affected versions from 3.10.2 can also change that file's mode. This issue is fixed in version 4.2.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00178,"percentile":0.04377,"provenance":"source"},"cwes":[{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-69hj-f68j-2879","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tox-dev/filelock/pull/835","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":5.1,"factors":[{"name":"EPSS percentile","points":0.88},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"tox-dev","affectedVersions":[{"vendor":"tox-dev","product":"filelock","versions":["< 4.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-22T21:24:59.918929Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"filelock","vulnerableRanges":["<4.2.1"],"patched":["4.2.1"],"from":["GHSA-69hj-f68j-2879"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-105017","exploited":false,"provenance":"source"}}