LOW 2.5 PyPI

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes