## filelock: On Windows an oplock on a soft lock's marker holds SoftFileLock.acquire() past its timeout and blocks the stale break

- 種別: advisory
- 重大度: low
- 関連技術: python
- CVE: CVE-2026-112907
- 公開日時: 2026-10-23T22:27:32.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-567q-5qvw-pf92)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-567q-5qvw-pf92

影響: pip:filelock >= 3.22.0, <= 4.2.0 → 4.2.1
On Windows the soft locks (SoftFileLock, MarkerSoftFileLock, SoftFileLease, their async forms, and a FileLock that fell back to a soft lock) read their marker by path. The marker is the lock file whose presence says a process holds the lock. Each acquire() attempt that finds a marker opens it with os.open to read the holder's process id, and the lock renames and deletes a marker it judges stale, by path. On Windows each of these calls waits for an oplock. An oplock (opportunistic lock) is a req…