## filelock: ReadWriteLock follows a symlink at the lock path into SQLite

- 種別: advisory
- 重大度: medium
- 関連技術: python, sqlite
- CVE: CVE-2026-112936
- 公開日時: 2026-10-28T21:08:30.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-j8f7-rjxc-mr56)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-j8f7-rjxc-mr56

影響: pip:filelock >= 3.20.4, <= 4.0.8 → 4.0.9
ReadWriteLock and AsyncReadWriteLock resolve the lock path with pathlib.Path.resolve() and pass it to sqlite3.connect() without refusing a symlink. A local user who can create names in the lock's directory, such as /tmp or a shared cache, can plant a symlink at the lock path and make the victim's process create, lock, or write the file it points to, or break mutual exclusion between the victim's own processes. Details ReadWriteLock.__init__ stores pathlib.Path(lock_file).resolve(), which follow…