filelock: Crafted lock database delays free ReadWriteLock acquisition
Package Affected versions Patched versions 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
Package
filelock (pip)Affected versions
< 4.3.0Patched versions
4.3.0Description
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.
References
- GHSA-qg3h-xpfc-449f
- https://nvd.nist.gov/vuln/detail/CVE-2026-144336
- tox-dev/filelock#1035
- tox-dev/filelock@780b93a
- https://github.com/tox-dev/filelock/releases/tag/4.3.0
Severity
Low CVSS overall score This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS). / 10CVSS v3 base metrics
Attack vector Local Attack complexity Low Privileges required Low User interaction None Scope Unchanged Confidentiality None Integrity None Availability Low CVSS v3 base metrics Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability. Attack complexity: More severe for the least complex attacks. Privileges required: More severe if no privileges are required. User interaction: More severe when no user interaction is required. Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope. Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user. Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user. Availability: More severe when the loss of impacted component availability is highest. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LEPSS score
Weaknesses
Weakness CWE-407Inefficient Algorithmic Complexity
An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached. Learn more on MITRE.CVE ID
CVE-2026-144336GHSA ID
GHSA-qg3h-xpfc-449fSource code
tox-dev/filelock Loading Checking historyUh oh!
There was an error while loading. Please reload this page.
See something to contribute? Suggest improvements for this vulnerability.