GHSA-jcqr-c9r9-vgjhLowCVSS 2.5

filelock: Read-only local account can stall strict lock acquisition on Windows

Published
December 4, 2026
Last Modified
December 4, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • pip/filelock:< 4.3.0

🔗 References (6)