{"id":"CVE-2026-112910","published":"2026-11-05T21:47:35Z","modified":"2026-11-09T18:50:04Z","title":"filelock: WindowsFileLock ignores mode: a 0o600 lock file and the ReadWriteLock database inherit the directory ACL","vendor":"tox-dev","product":"filelock","tier":"tail","description":{"text":"filelock is a platform-independent file lock for Python. From 3.10.0 until 4.2.1, filelock on Windows ignores the mode argument for WindowsFileLock files and the ReadWriteLock SQLite database. A lock created with mode=0o600 receives the parent directory's inheritable ACL because _open_non_reparse_fd and _nt_open do not create an owner-only security descriptor. Another local account with inherited access can read holder metadata or the lock database, modify those files where the ACL permits writes, or take the byte-range lock after release and delay later acquisitions. UnixFileLock is not affected, and mutual exclusion between cooperating processes continues to hold. This issue is fixed in version 4.2.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00192,"percentile":0.08892,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-8mx5-7m5m-r77g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tox-dev/filelock/pull/835","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/72786d41aa25159ad28c1bcf4291738b135b2c6c","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a","tags":["x_refsource_MISC"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.78},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"tox-dev","affectedVersions":[{"vendor":"tox-dev","product":"filelock","versions":[">= 3.10.0, < 4.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-09T18:49:43.570473Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"filelock","vulnerableRanges":[">=3.10.0, <4.2.1"],"patched":["4.2.1"],"from":["GHSA-8mx5-7m5m-r77g"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-117809","exploited":false,"provenance":"source"}}