⚠️

Disclaimer & Liability

The content provided on this website is for educational, research, and security awareness purposes only. Any unauthorized, illegal, or abusive use of the information, tools, and techniques discussed is solely the responsibility of the user. The author and publisher assume no liability for any damages, injuries, or consequences resulting from the misuse of this content.

CVE-2026-144342: Delayed StrictSoftFileLock Acquisition in filelock on Windows | Alireza Bolbolabadi - Red Team Security
LOADING

CVE-2026-144342: Delayed StrictSoftFileLock Acquisition in filelock on Windows

Vulnerability overview

CVE-2026-144342 is a low-severity local availability vulnerability in filelock, a platform-independent file-locking library for Python. The affected versions are prior to 4.3.0, and the issue is limited to Windows deployments using StrictSoftFileLock with a shared strict-lock claims directory.

The documented scenario involves an aged private record left behind after an acquisition was interrupted. When a later StrictSoftFileLock acquisition encounters this stale state, it can be delayed beyond its configured timeout. The security consequence is therefore improper lock-contention behavior rather than disclosure of protected data or execution of attacker-controlled code.

The advisory record was published on 2026-12-03 19:17:32.373, and the supplied intelligence assigns the issue a CVSS score of 2.5.

Affected systems

The issue applies to deployments that meet all of the following conditions:

  • A Windows system runs filelock before version 4.3.0.

  • The application uses StrictSoftFileLock.

  • The lock uses a shared strict-lock claims directory.

  • A local account has read access to that directory.

  • An aged private record remains after a previously interrupted lock acquisition.

  • A subsequent acquisition encounters the affected state.

The supplied advisory does not identify particular Windows builds, and it does not indicate that non-Windows platforms are affected.

Although the affected version range includes all releases before 4.3.0, the practical exposure surface is narrow. Most deployments will not meet the required combination of operating system, lock type, directory sharing, stale state, and local access.

Technical analysis

The available information points to incomplete handling of stale private lock state after an interrupted acquisition. A later lock attempt may be influenced by the aged record and remain delayed beyond the expected timeout.

The advisory does not provide implementation-level details such as the private record format, the relevant cleanup logic, or the exact point at which the record extends acquisition time. It also does not establish that any local user can create the triggering record through an arbitrary write operation. The stale record is a necessary precondition, and the reported attack path relies on read access to the shared claims directory.

The observable effect is a delayed acquisition. A permanent lock or sustained denial of service is not demonstrated, although repeated interference could reduce application availability when workflows depend on acquiring the lock promptly.

Attack prerequisites

Exploitation requires a local position and several environmental conditions:

  1. The target is running an affected filelock version on Windows.

  1. The application uses StrictSoftFileLock with a shared strict-lock claims directory.

  1. The local account can read that directory.

  1. An interrupted acquisition has left an aged private record.

  1. A later acquisition encounters the stale state.

These prerequisites materially limit exploitability. The supplied intelligence contains no evidence of exploitation in the wild, no exploit code, and no associated campaign. The linked CVE is also not present in the CISA KEV catalog. This represents an absence of documented exploitation in the provided sources, not proof that exploitation has never occurred.

Detection

No detection signature, indicator filename, or malicious artifact is identified in the advisory. Relevant investigations are therefore behavioral and state-based:

  • Record StrictSoftFileLock acquisition durations and identify delays that materially exceed the configured timeout.

  • Correlate lock delays with crashes, forced termination, or interrupted processes that previously used the same claims directory.

  • During maintenance, inspect shared claims directories for aged private records.

  • Review directory ACLs for local accounts with read access, especially accounts outside the intended service or administrative trust boundary.

  • Confirm that installed copies of filelock are version 4.3.0 or later.

Mitigation

Upgrade filelock

Version 4.3.0 contains the fix explicitly identified by the advisory. Direct and transitive dependencies should be checked to ensure that affected copies have been replaced.

Restrict access to shared claims directories

Where the application's sharing model permits, limit directory access to local accounts that legitimately participate in the locking arrangement. This reduces exposure to unrelated local users.

Manage stale records during controlled maintenance

After a crash or forced termination, aged private records may be inspected. Removal should occur only during controlled maintenance and after confirming that no legitimate lock holder or acquisition is active. Deleting records indiscriminately during normal operation could introduce lock races.

Account for timeout uncertainty

Applications with strict latency or availability requirements should not assume that the configured acquisition timeout is always a strict upper bound in affected versions. Monitoring should distinguish expected contention from excessive delays associated with interrupted processes.

Expert insight

The key distinction in CVE-2026-144342 is between a broad affected-version label and a narrow vulnerable configuration. Although every filelock release before 4.3.0 is nominally affected, the issue becomes relevant only when a Windows application shares a strict-lock claims directory, local accounts can read it, and stale private state survives an interrupted acquisition. That combination makes the issue relevant primarily to shared-hosting, multi-service, and delegated-administration environments rather than typical single-user installations.

The stale-state dependency also changes how the weakness should be interpreted. This is not a simple permission bypass or a generic local denial-of-service primitive. The supplied advisory supports an availability consequence through delayed acquisition, but it does not support claims of arbitrary lock creation, indefinite lock persistence, or exposure of data protected by the lock. Version 4.3.0 is the decisive remediation, with ACL review, controlled stale-record inspection, and timing telemetry providing additional resilience.

References

·
← News