{"id":"CVE-2026-112940","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-112940","generatedAt":"2026-10-27T23:59:04.167Z","title":"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…","description":"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.","published":"2026-10-20T15:17:17.000Z","lastModified":"2026-10-22T22:18:03.000Z","status":"Modified","sourceIdentifier":"security-advisories@github.com","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"},"cwe":["CWE-363","CWE-59"],"affected":["tox-dev/filelock"],"epss":{"score":0.0019,"percentile":0.08617,"date":"2026-10-26","history":[{"date":"2026-10-21","score":0.00093,"percentile":0.00552}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.19%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-20T15:17:17.000Z","detail":{"score":"7.1","severity":"HIGH","publishedAt":"2026-10-20T15:17:16.827Z"},"summary":"New CVE, high severity (CVSS 7.1)."}],"references":[{"url":"https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/tox-dev/filelock/pull/834","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/tox-dev/filelock/releases/tag/4.2.1","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8","tags":["Exploit","Mitigation","Patch","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8","tags":["Exploit","Mitigation","Patch","Vendor Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-112940","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}