{"affected":[{"product":"filelock","source":"CNA: GitHub_M","vendor":"tox-dev","versions":[{"status":"affected","version":">= 3.30.0, < 4.2.1"}]},{"defaultStatus":"unaffected","ecosystem":"PyPI","packageName":"filelock","product":"filelock","source":"OSV GHSA-6627-m3xw-93mp","vendor":"","versions":[{"status":"affected","version":"3.30.0","versionType":"PyPI"},{"status":"affected","version":"3.30.1","versionType":"PyPI"},{"status":"affected","version":"3.30.2","versionType":"PyPI"},{"status":"affected","version":"3.30.3","versionType":"PyPI"},{"status":"affected","version":"3.31.0","versionType":"PyPI"},{"status":"affected","version":"3.31.1","versionType":"PyPI"},{"status":"affected","version":"3.31.2","versionType":"PyPI"},{"status":"affected","version":"3.32.0","versionType":"PyPI"},{"status":"affected","version":"3.32.2","versionType":"PyPI"},{"status":"affected","version":"3.32.3","versionType":"PyPI"},{"status":"affected","version":"3.32.4","versionType":"PyPI"},{"status":"affected","version":"3.32.5","versionType":"PyPI"},{"status":"affected","version":"3.32.6","versionType":"PyPI"},{"status":"affected","version":"3.32.7","versionType":"PyPI"},{"status":"affected","version":"4.0.0","versionType":"PyPI"},{"status":"affected","version":"4.0.1","versionType":"PyPI"},{"status":"affected","version":"4.0.10","versionType":"PyPI"},{"status":"affected","version":"4.0.11","versionType":"PyPI"},{"status":"affected","version":"4.0.12","versionType":"PyPI"},{"status":"affected","version":"4.0.2","versionType":"PyPI"},{"status":"affected","version":"4.0.3","versionType":"PyPI"},{"status":"affected","version":"4.0.4","versionType":"PyPI"},{"status":"affected","version":"4.0.5","versionType":"PyPI"},{"status":"affected","version":"4.0.6","versionType":"PyPI"},{"status":"affected","version":"4.0.7","versionType":"PyPI"},{"status":"affected","version":"4.0.8","versionType":"PyPI"},{"status":"affected","version":"4.0.9","versionType":"PyPI"},{"status":"affected","version":"4.1.0","versionType":"PyPI"},{"status":"affected","version":"4.1.1","versionType":"PyPI"},{"status":"affected","version":"4.1.2","versionType":"PyPI"},{"status":"affected","version":"4.2.0","versionType":"PyPI"},{"events":[{"introduced":"3.30.0"},{"fixed":"4.2.1"}],"status":"unknown","version":"3.30.0","versionType":"ECOSYSTEM"}]}],"cveId":"CVE-2026-112908","cwes":["CWE-732"],"description":"filelock is a platform-independent file lock for Python. From version 3.30.0 until version 4.2.1,  StrictSoftFileLock  and  AsyncStrictSoftFileLock  on POSIX systems create coordination and claim directories without applying the caller’s restrictive lock mode. A permissive umask or inherited default ACL can leave these directories writable by another local user, allowing that user to delete an active holder’s claims. Another authorized process can then acquire the lock while the original holder remains in its critical section. An attacker can also plant malformed claims to prevent acquisition. This issue is fixed in version 4.2.1.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.3,"severity":"medium","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","version":"3.1"}],"modifiedAt":1793915693585,"publishedAt":1793915693585,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-6627-m3xw-93mp"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/tox-dev/filelock/pull/839"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/tox-dev/filelock/commit/8cf51802158b9cf7e1fc560c2da30491a662cfde"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1"},{"source":"OSV / GitHub Security Advisories","tags":["advisory"],"url":"https://github.com/advisories/GHSA-6627-m3xw-93mp"},{"source":"OSV / GitHub Security Advisories","tags":["osv"],"url":"https://osv.dev/vulnerability/GHSA-6627-m3xw-93mp"}],"remediation":[{"kind":"fix","source":"OSV GHSA-6627-m3xw-93mp","text":"filelock (PyPI): OSV reports a fixed version 4.2.1. Check the advisory for supported release branches.","url":"https://github.com/advisories/GHSA-6627-m3xw-93mp"}],"revision":"53aaecd47d6f5fd55cb3b415278ecb2a0c3d62fb1f9cef0289e62d91eef2ee3e","sources":[{"modifiedAt":1793915693585,"name":"CNA: GitHub_M","retrievedAt":1793916778582,"url":"https://www.cve.org/CVERecord?id=CVE-2026-112908"},{"modifiedAt":1793222105690,"name":"OSV / GitHub Security Advisories","retrievedAt":1793916779282,"url":"https://osv.dev/vulnerability/GHSA-6627-m3xw-93mp"}],"ssvc":null,"status":"published","title":"filelock: StrictSoftFileLock creates its claim directories without the lock mode, so another local user with a write bit on them can end a live hold","updatedAt":1793916779282}