filelock: Read-only local account can stall strict lock acquisition on Windows
GHSA-jcqr-c9r9-vgjh · CVE-2026-144342
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
On Windows, a local account with read access to a shared strict-lock claims directory can delay a later StrictSoftFileLock acquisition beyond its timeout. This requires an aged private record left by an interrupted acquisition. The observed effect was a delayed acquisition.
Affected versions and mitigation
Confirmed affected: = 4.2.12. Upgrade to 4.3.0.
Windows acquisitions now validate private records and leave them in place. Restrict read access through the directory and inherited file ACLs. Repeated interruptions can accumulate records and slow scans. Stop all users of the lock before manually cleaning up stale private records. Fix in PR #1045
Credits
Found during maintainer review of PR #989: REVIEW-989-private-reclaim.
References
- WEB https://github.com/tox-dev/filelock/security/advisories/GHSA-jcqr-c9r9-vgjh
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-144342
- WEB https://github.com/tox-dev/filelock/pull/1045
- WEB https://github.com/tox-dev/filelock/commit/856b39c59e8dd6c85ef381927b8a76d369c108e5
- PACKAGE https://github.com/tox-dev/filelock
- WEB https://github.com/tox-dev/filelock/releases/tag/4.3.0
Ready to move
Start Securing
Free, no credit card | First findings in minutes