{"id":"CVE-2026-112906","published":"2026-10-20T14:09:51Z","modified":"2026-10-20T15:27:25Z","title":"filelock: SoftFileLock evicts a fresh lock file whose watched age another local user's pre-dated file passed on…","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 versions from 4.1.0 can reuse a stale observation when an attacker pre-dates and removes its own marker, at least two lock-user processes are waiting, coarse or matching modification times preserve the observation, and an honest contender creates a fresh marker on the reused inode, causing that live marker to be removed as stale. This issue is fixed in version 4.2.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0014,"percentile":0.01678,"provenance":"source"},"cwes":[{"id":"CWE-694","name":"Use of Multiple Resources with Duplicate Identifier"}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-2g95-wg33-c5x2","tags":["x_refsource_CONFIRM"]},{"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.6,"factors":[{"name":"EPSS percentile","points":0.34},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"tox-dev","affectedVersions":[{"vendor":"tox-dev","product":"filelock","versions":[">= 4.1.0, < 4.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T15:27:04.618631Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"filelock","vulnerableRanges":[">=4.1.0, <4.2.1"],"patched":["4.2.1"],"from":["GHSA-2g95-wg33-c5x2"],"provenance":"source"}],"summary":{"text":"The filelock Python library, specifically its SoftFileLock component, contains a flaw in which a stale lock observation can be reused, causing a live lock marker created by an honest contender to be wrongly removed as stale. An attacker with local access and low privileges, who can pre-date and remove their own marker while at least two lock-user processes are waiting and coarse or matching modification times preserve the observation, can cause another process's fresh lock file to be evicted, which affects lock integrity; no user interaction is needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:55Z"},"euvd":{"id":"EUVD-2026-105015","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tox-dev-filelock-cve-2026-22701","parents":[{"from":"CVE-2026-22701","to":"CVE-2026-112906","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-112906","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"]}]}]}}