Skip to main content

filelock EUVDEUVD-2026-143598

| CVE-2026-144383 LOW
Improper Cleanup on Thrown Exception (CWE-460)
2026-12-03 security-advisories@github.com
3.6
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local account sharing app process/thread quota
  2. Delivery
    Exhaust quota to force thread-start failure
  3. Exploit
    Trigger failed submission during async release
  4. Execution
    Queued release runs under later lock holder
  5. Impact
    Second process enters protected section

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception cleanup procedures
Exploitation Conditions

Exploitation requires all of: use of the async APIs (AsyncFileLock, AsyncReadWriteLock, or AsyncSoftReadWriteLock) - the synchronous FileLock is unaffected; a Linux host where a local account shares the application's process/thread quota (e.g. RLIMIT_NPROC); the attacker exhausting that quota so the thread pool raises 'RuntimeError: can't start new thread' during a release submission; and the application reusing the same lock instance afterward so the still-queued release runs under a later holder. Limiting factors: local co-located access only (AV:L), a low-privilege local account (PR:L), high-complexity timing/resource-exhaustion race (AC:H), no user interaction, and confirmed impact only on version 4.2.12 with the async code path in use.

Impact

This is a low-priority issue, consistent with the vuln.today 'monitor' decision label and the CVSS 3.1 base score of 3.6 (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L). Every exploitation signal points the same direction: the attack vector is strictly local (AV:L), attack complexity is high (AC:H) because the attacker must induce a thread-pool submission failure at the exact moment of a lock release, low privileges are required (PR:L, a local account on the same host), and impact is limited to low integrity and low availability with no confidentiality loss (C:N). No EPSS score, KEV listing, or SSVC automatable/technical-impact values were supplied, so there is no quantitative exploitation-probability or automation signal to weigh - their absence is noted, not treated as an error. No public exploit or PoC reference appears in the input (the references are only the fix commit, pull request, release, and GHSA advisory), so there is no public exploit identified at time of analysis. The 'Information Disclosure' tag conflicts with the CVSS vector, which explicitly sets C:N - the real harm is loss of mutual exclusion (an integrity/availability concern), not disclosure. Net: a genuine but narrow correctness bug requiring local co-tenancy and resource-exhaustion timing, not a widespread or urgent threat.

Exploit ScenarioDerived

On a Linux host, an attacker holding a separate local account that shares the application's process/thread quota exhausts that quota so the application's thread pool raises 'RuntimeError: can't start new thread' precisely while an async filelock release is being submitted to the executor. The release stays queued and later runs during a subsequent hold of the reused lock instance, dropping the lock so a second process can enter the protected critical section. No public exploit code is identified; only maintainer test code demonstrating the condition exists in the fix commit.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 03, 2026

Async lock instances in the Python package filelock 4.2.12 can execute a queued release under a later holder, breaking mutual exclusion for applications that reuse the same lock object. A local Linux account sharing the application's process and thread quota can exhaust it so the thread pool raises 'RuntimeError: can't start new thread' during a release submission; the call stays queued and later drops the lock while another task holds it. The assessed impact is limited to integrity and availability of the locking guarantee (CVSS 3.1 base 3.6, AV:L/AC:H/PR:L, no confidentiality impact) and aligns with the vuln.today 'monitor' decision label; the issue is fixed in 4.3.0, and no public exploit code was identified at time of analysis, although the upstream fix commit and its regression tests are public.

RemediationAI

Upgrade filelock to 4.3.0 or later, which is the vendor-released patch and the version in which submit_call cancels a queued backend call whose submission failed or settles its result if it had already started (release notes: https://github.com/tox-dev/filelock/releases/tag/4.3.0; fix PR: https://github.com/tox-dev/filelock/pull/986; commit: https://github.com/tox-dev/filelock/commit/2e1e1f6dca24f18cde0e8badda5ccaa444f63809; advisory: https://github.com/tox-dev/filelock/security/advisories/GHSA-8gxc-gmm5-cjc4). Where upgrading is not immediately possible, the vendor's guidance is to isolate the application's thread allowance from untrusted accounts - for example by keeping co-located low-privilege accounts out of the process/thread quota the application consumes - and, on an affected version, to stop work that depends on the lock and restart the process after a submission failure, accepting the service interruption and loss of in-flight work that restart entails. Applications that only use the synchronous FileLock API are not affected and need no change.

Affected VersionsENISA

filelock < 4.3.0

Affected Packages

euvd filelock fix: 4.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

filelock provides cross-platform advisory file locking for Python, and its asynchronous layer (filelock.AsyncFileLock, AsyncReadWriteLock and AsyncSoftReadWriteLock) dispatches backend lock operations to an executor via asyncio's loop.run_in_executor, wrapping each call with capture_call and settling backend state in a done callback. The flaw is CWE-460 (Improper Cleanup on Thrown Exception): when ThreadPoolExecutor cannot start a worker thread it raises RuntimeError('can't start new thread') but may leave the submitted call queued, so a release whose submission raised still ran later and dropped the lock beneath the next task that entered the critical section. The upstream fix introduces submit_call in src/filelock/_async.py, which wraps the operation in a ConcurrentFuture and uses set_running_or_notify_cancel(); on submission failure it cancels the queued call when possible, or wraps the future so the already-started call's result still settles the backend state. The same submit_call path replaces run_in_executor in _async_read_write.py and _soft_rw/_async.py. Only the async APIs are involved - the synchronous FileLock is unaffected - and exploitation further requires a Linux deployment where an untrusted local account shares the application's process/thread quota (for example RLIMIT_NPROC), plus reuse of the same lock instance after the failed release.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 3.6 LOW
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
vuln.today AI 3.6 LOW

Local co-tenant account (AV:L/PR:L) must win a resource-exhaustion timing race during release (AC:H); dropped mutual exclusion harms integrity and availability only, with no disclosure (C:N).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch available
Dec 03, 2026 - 20:05 EUVD
CVE Published
Dec 03, 2026 - 19:17 cve.org
LOW 3.6

DescriptionCVE.org

filelock is a platform-independent file lock for Python. Prior to 4.3.0, an async lock can lose mutual exclusion after executor submission raises during release. A thread pool may already have queued the release. If the application reuses the same lock instance, that release can run during a later hold and allow another process to enter. On Linux, a local account sharing the application’s process and thread quota could trigger the submission failure. This issue is fixed in version 4.3.0.

Threat Intelligence Overview

Prevalence
High
ubiquitous Python locking library, but async-lock code path newer and niche
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy