Skip to main content
← All vulnerabilities
CVE-2026-112912GHSA-9J6Q-WVJ5-JGJG

filelock: Symlink swap during SoftFileLock's writability check leaks whether a path exists and is writable by the lock taker

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.32.6 until 4.2.1, SoftFileLock can follow a swapped symbolic link during the conditional os.access writability check for a node without its owner-write bit, allowing another local user on a platform and directory configuration that follows the link to infer whether a chosen path exists and is writable from the observable acquisition result. This issue is fixed in version 4.2.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated
  4. First seen by cve.now

Affected versions

  • tox-dev filelock

    From 3.32.6 · fixed in 4.2.1

  • filelockPyPI

    From 3.32.6 · fixed in 4.2.1

References 4

GitHub · tox-dev/filelock