{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-112938","id":"CVE-2026-112938","title":"filelock lock disruption via POSIX claims directory symlink race","description":"filelock is a platform-independent file lock for Python. From 3.30.0 until 4.2.1, On POSIX platforms, StrictSoftFileLock and AsyncStrictSoftFileLock validate the coordination directory in _ensure_protocol_directory but later reach the claims directory through _open_directory by pathname, allowing a local account that can rename the coordination name to swap in a symbolic link between check and use","descriptionLong":"filelock is a platform-independent file lock for Python. From 3.30.0 until 4.2.1, On POSIX platforms, StrictSoftFileLock and AsyncStrictSoftFileLock validate the coordination directory in _ensure_protocol_directory but later reach the claims directory through _open_directory by pathname, allowing a local account that can rename the coordination name to swap in a symbolic link between check and use during acquisition. That race can create and leave claim files in another writable directory or strand claims in a different strict lock so the second lock times out. Separately, the claims property and force_break follow a resting symbolic link without a race when the lock user inspects or recovers the lock. Claims inspection discloses a file name to the other account only if the resulting exception text or claim_name reaches that account through a shared log, CI output, or error report. A blind force_break recovery that removes live claims from another strict lock can allow two processes into that lock's critical section; this path reaches other strict locks, not arbitrary files. This issue is fixed in version 4.2.1.","published":"2026-11-05T21:51:04.350Z","updated":"2026-11-11T02:31:12.088864499Z","reserved":"2026-10-19T21:30:47.245Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["tox-dev filelock"],"affectedProducts":[{"vendor":"tox-dev","product":"filelock","defaultStatus":null,"versions":[{"version":">= 3.30.0, < 4.2.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"filelock","purl":"pkg:pypi/filelock","ranges":[">=3.30.0 <4.2.1"],"fixed":["4.2.1"],"advisory":"GHSA-m462-7rxw-wvpg"}],"cwes":["CWE-363"],"aliases":["GHSA-m462-7rxw-wvpg"],"references":[{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-m462-7rxw-wvpg","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/tox-dev/filelock/pull/839","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/tox-dev/filelock/commit/aaa18595d29795fab599a69d6b184d9a505dab4b","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112938.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112938","tags":["advisory"]},{"url":"https://github.com/tox-dev/filelock","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00107,"epssPercentile":0.01158,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-112938","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112938","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-112938","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m462-7rxw-wvpg","ok":true,"note":"GHSA-m462-7rxw-wvpg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-112938","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}