GHSA-qg3h-xpfc-449fLowCVSS 3.3
filelock: Crafted lock database delays free ReadWriteLock acquisition
🔗 CVE IDs covered (1)
📋 Description
Impact
If another local account can create or modify a SQLite lock database, loading its schema can consume CPU past the acquisition timeout even when the lock is free. Both ReadWriteLock and AsyncReadWriteLock load the schema. Tests confirmed a finite timeout overrun.
Affected versions and mitigation
Confirmed affected: = 4.2.12. Upgrade to 4.3.0.
The SQLite backend now applies tighter schema limits and checks progress more often. An existing database above those limits can raise ValueError. Use a dedicated lock database in a directory writable only by trusted accounts. Fix in PR #1035
Credits
OSS Scanner, ANT-2026-DW94VV2H.
🎯 Affected products1
- pip/filelock:< 4.3.0
🔗 References (6)
- https://github.com/tox-dev/filelock/security/advisories/GHSA-qg3h-xpfc-449f
- https://nvd.nist.gov/vuln/detail/CVE-2026-144336
- https://github.com/tox-dev/filelock/pull/1035
- https://github.com/tox-dev/filelock/commit/780b93afc5873c9c0ba979e2cec07761b596a554
- https://github.com/tox-dev/filelock/releases/tag/4.3.0
- https://github.com/advisories/GHSA-qg3h-xpfc-449f