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.
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.
Reported by the filelock scanner: ANT-2026-82MUV4ZM.
{
"cwe_ids": [
"CWE-412"
],
"github_reviewed": true,
"github_reviewed_at": "2026-12-04T22:38:32Z",
"nvd_published_at": "2026-12-03T20:17:46Z",
"severity": "LOW"
}