{"id":"CVE-2026-112941","revision":"82d9d80001474f239da6b980a192f2b9","records":[{"revision":"82d9d80001474f239da6b980a192f2b9","observedAt":"2026-10-28T15:46:50.301+00:00","statement":{"source":"cve-program","id":"CVE-2026-112941","aliases":[],"title":"filelock: SoftReadWriteLock follows a lock tree swapped in after its first acquire and writes lock records into directories of the user running the lock","description":"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.","state":0,"publishedAt":"2026-10-20T14:43:18.06+00:00","modifiedAt":"2026-10-28T14:14:54.297+00:00","affected":[{"ecosystem":"Vendor product","name":"filelock","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"tox-dev\",\n                    \"product\": \"filelock\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 4.1.0, < 4.2.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"severity":"LOW"}],"references":["https://github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37m","https://github.com/tox-dev/filelock/pull/842","https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03","https://github.com/tox-dev/filelock/releases/tag/4.2.1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112941","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-112941","identifiers":["CVE-2026-112941"]},"retained":false,"historicalAffected":[]}],"coverage":[]}