Skip to main content
← All vulnerabilities
CVE-2026-112909GHSA-69HJ-F68J-2879EUVD-2026-105017

filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path

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. Prior to 4.2.1, UnixFileLock can truncate a regular file renamed onto the lock path when another local user has actual rename permission, or hard-linked there under a permissive hard-link policy; when an explicit mode is requested, affected versions from 3.10.2 can also change that file's mode. 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

    fixed in 4.2.1

  • filelockPyPI

    fixed in 4.2.1

References 4

GitHub · tox-dev/filelock