On Windows, a local account with read access to an idle StrictSoftFileLock sentinel can delay acquisition beyond the requested timeout. A Windows opportunistic lock (oplock) on the sentinel can keep the caller’s thread waiting inside the operating system, including during a nonblocking acquisition.
The confirmed affected release is filelock 4.2.12. Upgrade to 4.3.0 or later.
Filelock now opens the sentinel without waiting for an outstanding oplock break, letting the caller handle contention, cancellation and timeouts. Restrict sentinel read access to participating accounts. This fix covers opening the sentinel during acquisition. Fix in PR #987.
Reported in the filelock scan as ANT-2026-9GI58YA1.
{
"cwe_ids": [
"CWE-412"
],
"github_reviewed": true,
"github_reviewed_at": "2026-12-04T22:22:02Z",
"nvd_published_at": "2026-12-03T20:17:46Z",
"severity": "LOW"
}