On POSIX filesystems with atomic name exchange, SoftFileLock can misidentify an active recovery record as abandoned. If another local account can create markers in the shared sticky lock directory, racing recoveries can let two holders enter the same critical section.
Versions 4.2.1 through 4.2.12 are affected. Upgrade to filelock 4.3.0 or later. Recovery leaves a break record in place while the process identified by its name is running. PID reuse can therefore delay cleanup. PR #974
Keep the lock in a directory writable only by trusted participants.
Reported by OSS Scanner (ANT-2026-01PM0HYF).
{
"cwe_ids": [
"CWE-345"
],
"github_reviewed": true,
"github_reviewed_at": "2026-12-04T22:42:12Z",
"nvd_published_at": "2026-12-03T19:17:32Z",
"severity": "LOW"
}