filelock: Windows read-handle oplock holds stale soft-lock recovery past timeout
GHSA-6hxh-7x44-pwfg · CVE-2026-144389
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 stale soft-lock marker can delay recovery beyond the caller’s acquisition timeout. This affects SoftFileLock, MarkerSoftFileLock and SoftFileLease when another process holds a read-handle opportunistic lock on the stale marker.
Affected version and mitigation
The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later.
Filelock now bounds the wait for the stale-marker rename and treats a canceled rename as contention. A single attempt, including a nonblocking one, can still spend roughly half a second in that rename. Restrict read access to the marker through its parent directory’s ACL. Fix in PR #984.
Credits
Reported by the filelock scanner: ANT-2026-82MUV4ZM.
References
- WEB https://github.com/tox-dev/filelock/security/advisories/GHSA-6hxh-7x44-pwfg
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-144389
- WEB https://github.com/tox-dev/filelock/pull/984
- WEB https://github.com/tox-dev/filelock/commit/59d46b0c2c2b8f66bd7342c304e8bbea5250df09
- 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