{"id":"CVE-2026-112936","published":"2026-10-20T14:34:47Z","modified":"2026-10-20T16:47:39Z","title":"filelock: ReadWriteLock follows a symlink at the lock path into SQLite","vendor":"tox-dev","product":"filelock","tier":"tail","description":{"text":"filelock is a platform-independent file lock for Python. From 3.20.4 until 4.0.9, ReadWriteLock and AsyncReadWriteLock versions from 3.20.4 resolve the lock path and pass it to SQLite without rejecting a final symbolic link, allowing another local user who can create names in the lock directory to redirect database creation and locking or split mutual exclusion between targets. This issue is fixed in version 4.0.9.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00184,"percentile":0.04648,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-j8f7-rjxc-mr56","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tox-dev/filelock/commit/4d45e83caf7e31f9a12fb44526bdc07f70114f04","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.0.9","tags":["x_refsource_MISC"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":0.93},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-09","earliestUrl":"https://github.com/federiconbaez/cortex9-filelock-sqlite-symlink-follow-model","repos":[{"name":"federiconbaez/cortex9-filelock-sqlite-symlink-follow-model","url":"https://github.com/federiconbaez/cortex9-filelock-sqlite-symlink-follow-model","stars":0,"created":"2026-11-09"}]},"first":{"date":"2026-11-09","source":"PoC-in-GitHub","url":"https://github.com/federiconbaez/cortex9-filelock-sqlite-symlink-follow-model"},"provenance":"source"},"vendorSlug":"tox-dev","affectedVersions":[{"vendor":"tox-dev","product":"filelock","versions":[">= 3.20.4, < 4.0.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T16:47:15.788698Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"filelock","vulnerableRanges":[">=3.20.4, <4.0.9"],"patched":["4.0.9"],"from":["GHSA-j8f7-rjxc-mr56"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-105026","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tox-dev-filelock-cve-2026-112915","parents":[{"from":"CVE-2026-112915","to":"CVE-2026-112936","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filelock/_read_write.py","src/filelock/_windows.py"],"commits":["https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d","https://github.com/tox-dev/filelock/commit/4d45e83caf7e31f9a12fb44526bdc07f70114f04"],"basis":"shared function","functions":["__init__"]}]}],"children":[{"from":"CVE-2026-112936","to":"CVE-2026-112913","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filelock/_read_write.py","src/filelock/_windows.py"],"commits":["https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d","https://github.com/tox-dev/filelock/commit/1f582d02c7e5cb4aa7e41ddae211d32d31778f3b","https://github.com/tox-dev/filelock/commit/4d45e83caf7e31f9a12fb44526bdc07f70114f04"],"basis":"shared function","functions":["__init__"]}]},{"from":"CVE-2026-112936","to":"CVE-2026-112937","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filelock/_read_write.py","src/filelock/_windows.py"],"commits":["https://github.com/tox-dev/filelock/commit/4d45e83caf7e31f9a12fb44526bdc07f70114f04","https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"],"basis":"shared function","functions":["__init__"]}]},{"from":"CVE-2026-112936","to":"CVE-2026-112940","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filelock/_read_write.py","src/filelock/_windows.py"],"commits":["https://github.com/tox-dev/filelock/commit/4d45e83caf7e31f9a12fb44526bdc07f70114f04","https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"],"basis":"shared function","functions":["__init__"]}]}]}}