filelock: StrictSoftFileLock and SoftReadWriteLock adopt a protocol directory another user created first, losing mutual exclusion
影響: pip:filelock >= 3.30.0, <= 4.2.0 → 4.2.1
StrictSoftFileLock, AsyncStrictSoftFileLock, SoftReadWriteLock and AsyncSoftReadWriteLock keep their whole ownership state as files in a directory derived from the lock path ( .filelock/claims, .rw/{gen,holders}). When that directory already exists they adopt it after checking only that it is a real directory, not who owns it. Another local user who can create names in the lock's directory can create the tree before the first acquire on that path by the user running the lock (below: the lock us…
| CVE | CVE-2026-112911 |
|---|---|
| 来源 | GitHub Advisory Database |
| 获取时间 | 2026/10/29 09:48 |
| 数据 | Markdown JSON |
2026/10/29 06:08,GitHub Advisory Database 发布了“filelock: StrictSoftFileLock and SoftReadWriteLock adopt a protocol directory another user created first, losing mutual exclusion”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Python。CVE:CVE-2026-112911。