## filelock: WindowsFileLock ignores mode: a 0o600 lock file and the ReadWriteLock database inherit the directory ACL

- 種別: advisory
- 重大度: medium
- 関連技術: python, windows
- CVE: CVE-2026-112910
- 公開日時: 2026-10-28T21:08:55.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-8mx5-7m5m-r77g)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-8mx5-7m5m-r77g

影響: pip:filelock >= 3.10.0, <= 4.2.0 → 4.2.1
filelock on Windows ignores the mode argument. FileLock(path, mode=0o600) creates the same file as FileLock(path): one with no security descriptor of its own (the Windows record that says who may access a file). Its access list, or ACL, is whatever the lock directory hands down to new files. filelock creates the ReadWriteLock database, which it asks to be 0o600, the same way. In a directory whose inheritable ACL grants other local accounts access to new files, those accounts can open the lock f…