Skip to main content
← All vulnerabilities
CVE-2026-112940GHSA-V4X8-3WR5-3WQ8EUVD-2026-105031

filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • tox-dev filelock

    From 3.20.4 · fixed in 4.2.1

  • filelockPyPI

    From 3.20.4 · fixed in 4.2.1

References 4

GitHub · tox-dev/filelock