## filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout

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

影響: pip:filelock >= 3.20.4, <= 4.2.0 → 4.2.1
ReadWriteLock and AsyncReadWriteLock (the SQLite-backed reader/writer lock) run PRAGMA journal_mode=MEMORY on a fresh connection for every acquire. That statement makes SQLite load the whole schema (the sqlite_master table, which lists every table and index with its CREATE text) of whatever file sits at the lock path. The caller's timeout reaches SQLite only as busy_timeout, which bounds waits for another connection's lock, not schema loading. The only content checks reject non-regular files an…