CVE-2026-112940
Last modified
CVE-2026-112940 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tox-Dev | Filelock | >= 3.20.4, < 4.2.1 |
References
- https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8Exploit, Mitigation, Patch, Vendor Advisory
- https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8Exploit, Mitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-112940?
How severe is CVE-2026-112940?
How do I fix CVE-2026-112940?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-112934filelock is a platform-independent file lock for Python. Fro…6.1
- CVE-2026-112935filelock is a platform-independent file lock for Python. Fro…4.7
- CVE-2026-112936filelock is a platform-independent file lock for Python. Fro…6.1
- CVE-2026-112937filelock is a platform-independent file lock for Python. Fro…6.1
- CVE-2026-112939filelock is a platform-independent file lock for Python. Fro…4.7
- CVE-2026-11294Inappropriate implementation in Passwords in Google Chrome p…4.3
- CVE-2026-112941filelock is a platform-independent file lock for Python. Fro…3.3
- CVE-2026-112942launch-editor allows users to open files with line numbers i…7.5
- CVE-2026-112943launch-editor allows users to open files with line numbers i…6.3
- CVE-2026-112944launch-editor allows users to open files with line numbers i…6.3
- CVE-2026-112945Vite is a frontend tooling framework for JavaScript. Prior t…2.1
- CVE-2026-112946Vite is a frontend tooling framework for JavaScript. Prior t…6.3
Are you affected by CVE-2026-112940?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
