## filelock: StrictSoftFileLock creates its claim directories without the lock mode, so another local user with a write bit on them can end a live hold

- 種別: advisory
- 重大度: medium
- 関連技術: python
- CVE: CVE-2026-112908
- 公開日時: 2026-10-28T21:09:04.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-6627-m3xw-93mp)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-6627-m3xw-93mp

影響: pip:filelock >= 3.30.0, <= 4.2.0 → 4.2.1
StrictSoftFileLock and AsyncStrictSoftFileLock apply the caller's mode to the sentinel (the lock file at ) and to both claim files (the files whose presence says a process wants or holds the lock). They create the two directories that hold the claims, .filelock and .filelock/claims, with a bare mkdir(). That gives 0o777 filtered through the umask (a per-process mask that removes permission bits from new files and directories) or, under a parent with a default ACL (an access control list on a di…