Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local account sharing app process/thread quota
-
DeliveryExhaust quota to force thread-start failure
-
ExploitTrigger failed submission during async release
-
ExecutionQueued release runs under later lock holder
-
ImpactSecond 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
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).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
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
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-143598
NVD
CVE.org
GitHub
Exploit-DB