Read the docs

Oplock delays in filelock on Windows block unrelated async tasks

Priority LOW 12CWE-1322Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

The tox-dev filelock package before 4.3.0 is affected on Windows. A Windows opportunistic lock (oplock) causes blocking code in a non-blocking context (CWE-1322). A local account with read access to a native lock file can delay nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(run_in_executor=False), the delay also blocks unrelated tasks on the event loop, while the default executor keeps the loop responsive but acquisitions can still miss their deadline.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

Description from the CNA

filelock is a platform-independent file lock for Python. Prior to 4.3.0, on Windows, a local account with read access to a native lock file can delay a nonblocking or short-timeout FileLock acquisition. With AsyncFileLock(run_in_executor=False), the delay also blocks unrelated tasks on the event loop. The default executor keeps the loop responsive but an acquisition can still miss its own deadline on the affected release. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00261 19th percentileScored 2026-12-04
Fix Fixed filelock (tox-dev): 4.3.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
tox-devfilelockbefore 4.3.04.3.0Patch availableCNA
  • filelock Vendortox-dev Affected before 4.3.0 Fixed in 4.3.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:tox-dev:filelock:*:*:*:*:*:*:*:*——tox-dev
  • cpe:2.3:a:tox-dev:filelock:*:*:*:*:*:*:*:* Versions — — ·tox-dev

Remediation

Upgrade tox-dev filelock to version 4.3.0.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

  • Fix · CNA filelock (tox-dev) Fixed in 4.3.0

Timeline

  1. 2026-12-03 Threatist record created from CVE-2026-144339
  2. 2026-12-03 CISA SSVC decision points changed

References

  • TI-2026-76862 Race condition in filelock ReadWriteLock allows file overwrites CVSS 3.1HIGH 7.1
  • TI-2026-76853 filelock soft locks adopt directories created by other local users CVSS 3.1MEDIUM 6.3
  • TI-2026-76859 Symlink following in filelock ReadWriteLock redirects SQLite database CVSS 3.1MEDIUM 6.1
  • TI-2026-76857 Unsafe holder record refresh in filelock SoftReadWriteLock CVSS 3.1MEDIUM 6.1
  • TI-2026-76852 filelock UnixFileLock lets local users truncate and chmod files CVSS 3.1MEDIUM 6.1
  • TI-2026-76856 Crafted lock database makes filelock ReadWriteLock acquisitions hang CVSS 3.1MEDIUM 5.5
See all 50 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences