{"id":"CVE-2026-112914","published":"2026-10-20T14:26:18Z","modified":"2026-10-21T15:55:21Z","title":"filelock: SoftFileLock stale-break restore follows a swapped-in symbolic link and hard-links a file of the user…","vendor":"tox-dev","product":"filelock","tier":"tail","description":{"text":"filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftFileLock can restore a stale marker by name after moving it aside, allowing another local user with rename access in a non-sticky lock directory to swap in a symbolic link and, on a runtime that follows the link and a same-filesystem target, make the lock user hard-link one of its files into the lock directory. This issue is fixed in version 4.2.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00122,"percentile":0.00902,"provenance":"source"},"cwes":[{"id":"CWE-363","name":"Race Condition Enabling Link Following"}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-crv4-6mhj-j5jh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tox-dev/filelock/pull/843","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":3.9,"factors":[{"name":"EPSS percentile","points":0.18},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"tox-dev","affectedVersions":[{"vendor":"tox-dev","product":"filelock","versions":[">= 4.1.0, < 4.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-21T14:24:18.815619Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"filelock","vulnerableRanges":[">=4.1.0, <4.2.1"],"patched":["4.2.1"],"from":["GHSA-crv4-6mhj-j5jh"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-105020","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tox-dev-filelock-cve-2026-22701","parents":[{"from":"CVE-2026-22701","to":"CVE-2026-112914","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filelock/_soft.py"],"commits":["https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b","https://github.com/tox-dev/filelock/commit/255ed068bc85d1ef406e50a135e1459170dd1bf0","https://github.com/tox-dev/filelock/commit/41b42dd2c72aecf7da83dbda5903b8087dddc4d5"],"basis":"shared function","functions":["SoftFileLock"]}]}],"children":[{"from":"CVE-2026-112914","to":"CVE-2026-112939","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filelock/_soft.py"],"commits":["https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b","https://github.com/tox-dev/filelock/commit/eeceaa846cbe4df72718d94c8371ca1ab8f5b3cc"],"basis":"shared function","functions":["_acquire","_apply_explicit_mode"]}]}]}}