filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path
影響: pip:filelock <= 4.2.0 → 4.2.1
UnixFileLock, the backend of FileLock and AsyncFileLock on Unix, empties whatever regular file it finds at the lock path once it holds the flock (a kernel lock on an open file). With an explicit mode it also chmods that file (sets its permission bits), whether or not this acquire created it. Another local user who can rename or hard-link one of the files of the user running the lock (below: the lock user) onto the lock path gets that file truncated by the lock user's next acquire(). A hard link…
| CVE | CVE-2026-112909 |
|---|---|
| 来源 | GitHub Advisory Database |
| 获取时间 | 2026/10/29 09:48 |
| 数据 | Markdown JSON |
2026/10/29 06:08,GitHub Advisory Database 发布了“filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Python。CVE:CVE-2026-112909。