Oplock delays filelock async cancellation on Windows
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
filelock before 4.3.0 for Python has a flaw on Windows where a Windows opportunistic lock (oplock) on the SQLite lock database causes excessive iteration (CWE-834). A local user with read access to that database, such as another account, can delay cancellation of an AsyncReadWriteLock acquisition. Tasks and application shutdown may then wait past the task deadline, up to the lock's own timeout.
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, another local account with read access to a SQLite lock database can delay cancellation of an AsyncReadWriteLock acquisition. The task and application shutdown can wait past the task deadline, up to the lock's own timeout. Older databases and deliberately shared databases may grant the necessary access. The delay is caused by a Windows opportunistic lock (oplock). This issue is fixed in version 4.3.0.
Why it matters now
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
Remediation
Upgrade tox-dev filelock to version 4.3.0, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
- Fix · CNA filelock (tox-dev) Fixed in 4.3.0
Timeline
- 2026-12-03 Threatist record created from CVE-2026-144341
- 2026-12-04 CISA SSVC decision points changed
References
More tox-dev vulnerabilities
- 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences