Vulnerability DatabaseCVE-2026-144341

CVE-2026-144341: 
Python vulnerability analysis and mitigation

Overview

CVE-2026-144341 is a low-severity availability vulnerability in the filelock Python library (maintained by tox-dev) affecting all versions prior to 4.3.0. On Windows, a local account with read access to a SQLite lock database can exploit a Windows opportunistic lock (oplock) to delay cancellation of an AsyncReadWriteLock acquisition, causing task and application shutdown to wait past the task deadline — up to the lock's own timeout. The vulnerability was published on December 3, 2026, with a fix released in version 4.3.0. It carries a CVSS v3.1 base score of 2.5 (Low) (GitHub Advisory).

Technical details

The root cause is classified as CWE-834 (Excessive Iteration): when a Windows oplock is held on the SQLite lock database by another local account with read access, the AsyncReadWriteLock acquisition loop does not properly honor cancellation signals or task deadlines during repeated open attempts. Instead of stopping between retries when cancelled, the loop continues waiting for the oplock break acknowledgment until the lock's own timeout expires. The issue is specific to Windows oplocks and is triggered when older or deliberately shared SQLite databases grant read access to other local accounts. The fix (PR #1059) introduces an _open_waiting method that checks a cancel_check callback between open attempts and charges oplock wait time against the acquisition deadline, allowing a canceled async acquire to stop its worker between attempts (GitHub Advisory, Fix PR).

Impact

Successful exploitation results in a limited availability impact: application or task shutdown can be delayed past its configured deadline, up to the duration of the lock's own timeout. There is no confidentiality or integrity impact. The scope is limited to the local system, and the delay affects only processes using AsyncReadWriteLock on Windows with a shared or permissively-accessible SQLite lock database (GitHub Advisory).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access, low privileges, high attack complexity, and a specific Windows environment where the SQLite lock database is readable by another account — conditions that significantly limit practical exploitability (GitHub Advisory).

Exploitation steps

  1. Identify target: Locate a Windows system running a Python application that uses filelock's AsyncReadWriteLock with a SQLite-backed lock database (versions < 4.3.0).
  2. Gain read access to the lock database: Obtain or confirm read access to the SQLite lock database file from a separate local account — this may already exist on older or deliberately shared databases.
  3. Hold an oplock: Open the SQLite lock database file from the attacker-controlled local account, causing Windows to place an opportunistic lock (oplock) on the file.
  4. Trigger acquisition: Wait for the target application to attempt an AsyncReadWriteLock acquisition or cancellation (e.g., during shutdown).
  5. Delay cancellation: By holding the oplock and not acknowledging the oplock break, delay the target application's lock cancellation, causing shutdown to stall past its task deadline up to the lock's configured timeout (GitHub Advisory, Fix PR).

Indicators of compromise

  • File System: SQLite lock database files (e.g., lock.db) with read permissions granted to accounts beyond the service account; presence of older or shared lock databases accessible by multiple local users.
  • Process: Python application processes that hang or fail to terminate within expected shutdown deadlines on Windows; AsyncReadWriteLock acquisition threads that remain active past task cancellation.
  • Logs: Application logs showing lock acquisition timeouts or shutdown delays exceeding configured task deadlines; repeated lock open attempts in filelock debug output without successful cancellation.

Mitigation and workarounds

Upgrade filelock to version 4.3.0 or later, which fixes the issue by allowing a canceled async acquire to stop its worker between open attempts and properly charging oplock wait time against the acquisition deadline (filelock 4.3.0 Release). As a workaround, restrict read access to the SQLite lock database to only the service account running the application, and configure a finite lock timeout appropriate for the expected shutdown window (GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Unknown

bionic (esm-apps)

python-filelock

Unknown

devel

python-filelock

Unknown

focal (esm-apps)

python-filelock

Unknown

jammy

python-filelock

Unknown

jammy (esm-apps)

python-filelock

Unknown

noble

python-filelock

Unknown

noble (esm-apps)

python-filelock

Unknown

resolute

python-filelock

Unknown

Source: This report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-143791HIGH7.5
  • Python logoPython
  • pydantic-ai-harness
NoYesDec 04, 2026
CVE-2026-143790LOW3.7
  • Python logoPython
  • pydantic-ai
NoYesDec 04, 2026
CVE-2026-136643NONEN/A
  • Python logoPython
  • pydantic-evals
NoYesDec 04, 2026
CVE-2026-136640NONEN/A
  • Python logoPython
  • pydantic-ai-harness
NoYesDec 04, 2026
CVE-2026-136639NONEN/A
  • Python logoPython
  • pydantic-ai-harness
NoYesDec 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management