CVE-2026-112909 PUBLISHED

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

Assigner: GitHub_M
Reserved: 19.10.2026 Published: 20.10.2026 Updated: 20.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
CVSS Score: 6.1

Product Status

Vendor tox-dev
Product filelock
Versions
  • Version < 4.2.1 is affected

References

Problem Types

  • CWE-706: Use of Incorrectly-Resolved Name or Reference CWE