{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-112940","published":"2026-10-20T15:17:16.827000Z","last_modified":"2026-10-22T22:18:02.827000Z","status":"Modified","cvss":{"version":"3.1","score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-363","CWE-59"],"cpes":[{"criteria":"cpe:2.3:a:tox-dev:filelock:*:*:*:*:*:python:*:*","part":"a","vendor":"tox-dev","product":"filelock","version_start_including":"3.20.4","version_end_excluding":"4.2.1"}],"cpes_truncated":false,"vendors":["tox-dev"],"products":["tox-dev/filelock"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-v4x8-3wr5-3wq8","ecosystem":"PyPI","name":"filelock","purl":"pkg:pypi/filelock","ranges":[{"introduced":"3.20.4","fixed":"4.2.1"}],"versions":["3.20.4","3.21.0","3.21.1","3.21.2","3.22.0","3.23.0","3.24.0","3.24.1","3.24.2","3.24.3","3.25.0","3.25.1","3.25.2","3.28.0","3.29.0","3.29.1","3.29.2","3.29.3","3.29.4","3.29.5","3.29.6","3.29.7","3.30.0","3.30.1","3.30.2","3.30.3","3.31.0","3.31.1","3.31.2","3.32.0","3.32.2","3.32.3","3.32.4","3.32.5","3.32.6","3.32.7","4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.1","4.1.2","4.2.0"],"versions_truncated":false}],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2026-112940/","html_en":"/en/cve/CVE-2026-112940/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-112940","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-112940"},"untrusted":{"vendor_name":"Tox-dev","product_name":"Filelock","desc_en":"filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock let SQLite reopen the database and side files by name; on POSIX systems an attacker with rename access in a non-sticky parent can swap those names to cause overwrite or unlink operations, while a writable adjacent hot journal is additionally required for attacker-chosen content overwrites. This issue is fixed in version 4.2.1.","affected":[{"untrusted_vendor":"tox-dev","untrusted_product":"filelock","versions":[]}],"references":[{"url":"https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d","tags":["Patch"]},{"url":"https://github.com/tox-dev/filelock/pull/834","tags":["Patch"]},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","tags":["Release Notes"]},{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8","tags":["Exploit","Mitigation","Patch","Vendor Advisory"]}]}}