{"id":"CVE-2026-112941","published":"2026-10-20T14:43:18Z","modified":"2026-10-28T14:14:54Z","title":"filelock: SoftReadWriteLock follows a lock tree swapped in after its first acquire and writes lock records into…","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, SoftReadWriteLock and AsyncSoftReadWriteLock cache a successful check of the <path>.rw lock tree and resolve its names again during later record operations, allowing another local user who can replace that tree after the first acquisition to redirect lock-record writes into directories writable by the lock user. This issue is fixed in version 4.2.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0013,"percentile":0.01273,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tox-dev/filelock/pull/842","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":2.6,"factors":[{"name":"EPSS percentile","points":0.25},{"name":"CVSS severity","points":2.31}]},"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-28T14:14:46.244766Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"filelock","vulnerableRanges":[">=4.1.0, <4.2.1"],"patched":["4.2.1"],"from":["GHSA-wfhq-q4j2-c37m"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-105032","exploited":false,"provenance":"source"}}