{"id":"DEBIAN-CVE-2026-112940","details":"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.","modified":"2026-10-21T05:00:08.143119144Z","published":"2026-10-20T21:47:45.226120282Z","upstream":["CVE-2026-112940"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-112940"}],"affected":[{"package":{"name":"python-filelock","ecosystem":"Debian:12","purl":"pkg:deb/debian/python-filelock?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.12.2-1","3.12.3-1","3.12.4-1","3.13.1-1","3.13.3-1","3.13.4-1","3.14.0-1","3.15.4-1","3.16.1-1","3.16.1-2","3.17.0-1","3.18.0-1","3.19.1-1","3.20.0-1","3.20.2-1","3.20.3-1","3.24.3-1","3.25.0-1","3.25.2-1","3.29.0-1","3.29.4-1","3.29.5-1","3.29.7-1","3.32.0-1","3.32.2-1","3.32.4-1","3.32.4-2","3.32.5-1","3.32.6-1","3.9.0-1","3.9.0-1+deb12u1","4.0.1-1","4.0.12-1","4.1.1-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-112940.json"}},{"package":{"name":"python-filelock","ecosystem":"Debian:13","purl":"pkg:deb/debian/python-filelock?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0-1","3.18.0-1+deb13u1","3.19.1-1","3.20.0-1","3.20.2-1","3.20.3-1","3.24.3-1","3.25.0-1","3.25.2-1","3.29.0-1","3.29.4-1","3.29.5-1","3.29.7-1","3.32.0-1","3.32.2-1","3.32.4-1","3.32.4-2","3.32.5-1","3.32.6-1","4.0.1-1","4.0.12-1","4.1.1-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-112940.json"}},{"package":{"name":"python-filelock","ecosystem":"Debian:14","purl":"pkg:deb/debian/python-filelock?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.18.0-1","3.19.1-1","3.20.0-1","3.20.2-1","3.20.3-1","3.24.3-1","3.25.0-1","3.25.2-1","3.29.0-1","3.29.4-1","3.29.5-1","3.29.7-1","3.32.0-1","3.32.2-1","3.32.4-1","3.32.4-2","3.32.5-1","3.32.6-1","4.0.1-1","4.0.12-1","4.1.1-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-112940.json"}}],"schema_version":"1.9.0"}