# GHSA-X9CQ-QQFM-8972: Readable database oplock delays async cancellation on Windows

- Database: GitHub
- Severity: CVSS 2.5 (Low)
- Published: 2026-11-22
- Modified: 2026-12-03

## Tracked as

- [CVE-2026-144341](https://cve.now/CVE-2026-144341.md): filelock: Readable database oplock delays async cancellation on Windows

## Affected versions

- filelock (PyPI): 4.2.12

## Description

## Impact

On Windows, another local account with read access to a SQLite lock database can delay cancellation of an `AsyncReadWriteLock` acquisition. The task and application shutdown can wait past the task deadline, up to the lock's own timeout. Older databases and deliberately shared databases may grant the necessary access.

## Affected versions and mitigation

Confirmed affected: `= 4.2.12`. Upgrade to `4.3.0`.

An interrupted acquire can now stop its worker between attempts. Lock construction still has its own five-second database-open budget. Restrict read access to the service account and set a finite lock timeout appropriate for shutdown. [Fix in PR #1059](https://github.com/tox-dev/filelock/pull/1059)

## Credits

Scan `filelock-20261116-009`; finding `ANT-2026-YNJD4Y2W`.

## References

- https://github.com/tox-dev/filelock/security/advisories/GHSA-x9cq-qqfm-8972

Page: https://cve.now/GHSA-X9CQ-QQFM-8972

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
