{"schemaVersion":3,"id":"CVE-2026-112941","aliases":["DEBIAN-CVE-2026-112941"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-20T14:43:18.060Z","modified":"2026-10-20T14:43:18.060Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.3,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/367.html"}],"affected":[{"vendor":"debian","product":"python-filelock","name":"python-filelock","label":"python-filelock","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-filelock","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"tox-dev","product":"filelock","name":"filelock","label":"filelock","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.1.0, < 4.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.1.0, < 4.2.1","eol":null,"hubHref":"/vendor/tox-dev/filelock"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37m","label":"github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37m","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/tox-dev/filelock/pull/842","label":"github.com/tox-dev/filelock/pull/842","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03","label":"github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","label":"github.com/tox-dev/filelock/releases/tag/4.2.1","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-112941","label":"security-tracker.debian.org/tracker/CVE-2026-112941","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-20T14:43:18.060Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"risk":{"score":13,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:41:47.795Z","stale":false,"partial":false}}