Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local account in misconfigured PID namespace
-
DeliveryObserve soft-lock holder's numeric PID
-
ExploitControl unrelated task reusing that PID via foreign procfs
-
ExecutionAlter its start token so holder appears stale
-
PersistLive holder's marker removed, enter protected section concurrently
-
ImpactCorrupt lock-protected resource
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
|
| Exploitation Conditions | Exploitation requires a narrow, non-default Linux configuration: the application must use filelock's soft-lock classes (SoftFileLock, MarkerSoftFileLock, or SoftFileLease) rather than the default OS-level lock, and the cooperating processes must run in a PID namespace that sees a /proc mounted for a different PID namespace - specifically 'unshare --pid' without '--mount-proc', or 'nsenter --pid' without '--mount', so that /proc/<pid> resolves to an unrelated task. An attacker must have a local account (PR:L) and be able to run/control that unrelated process which happens to reuse the holder's numeric PID and replace its start token. Limiting factors that reduce real-world risk: it is Linux-only, requires soft locks specifically, requires the foreign-procfs namespace misconfiguration (default container/namespace setups that mount /proc per-namespace are unaffected), requires a numeric PID collision, and is rated AC:H with no network vector (AV:L). Simply matching each process's /proc mount to its PID namespace, or upgrading to 4.3.0, removes the condition. |
| Impact | All severity signals agree that this is a low-priority issue. The supplied CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N) scores 2.5 and describes a local, high-complexity, low-privilege flaw with only a low integrity impact and no confidentiality or availability impact; the vuln.today Decision label is 'monitor', the weakest urgency tier. This is not in CISA KEV (no confirmed active exploitation), no EPSS probability was provided in the input, and no exploit reference is present - only the fix commit, pull request, release and GitHub advisory. SSVC-style signals beyond the 'monitor' label (automatable, exploitation status) were not supplied, so a full SSVC comparison cannot be made. The one caveat worth flagging is a tag/impact mismatch: the input Tags include 'Information Disclosure', yet the CVSS vector sets C:N - the actual defect is a locking-integrity failure (CWE-667) that lets two holders into a protected section, so the real impact is integrity, not disclosure. Overall this is a genuinely low-real-risk, high-CVSS-it-is-not case: a low-severity correctness bug that only matters under an unusual Linux PID-namespace misconfiguration, not an urgent priority. |
| Exploit ScenarioDerived | On a Linux host where processes share a filelock SoftFileLock but run under a PID namespace that still sees an outer /proc (e.g. 'unshare --pid' without '--mount-proc', or 'nsenter --pid' without '--mount'), a local low-privileged user controls an unrelated task that happens to reuse the lock holder's numeric PID and alters its start token so the holder looks like a recycled, stale PID. The soft lock then removes the live holder's marker, letting a second process enter the protected section concurrently and corrupt whatever the lock guards. No public exploit code was identified at time of analysis, and exploitation is high-complexity (AC:H) and requires a local account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 03, 2026
On Linux, filelock releases prior to 4.3.0 can admit two holders into a protected critical section at the same time because the soft-lock classes (SoftFileLock, MarkerSoftFileLock, SoftFileLease) may treat a live holder as stale. The flaw only appears in a narrow configuration: locking processes that see a /proc mount belonging to a different PID namespace, where /proc/<pid> resolves to an unrelated task whose start token can be replaced. Exploitation needs a local account and control of that unrelated process (CVSS 3.1: AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N, 2.5), and no public exploit has been identified at time of analysis; the vendor-released fix is 4.3.0.
RemediationAI
Upgrade every process that shares a given lock to filelock 4.3.0 or later (https://github.com/tox-dev/filelock/releases/tag/4.3.0), which contains the fix from PR #983 (https://github.com/tox-dev/filelock/pull/983, commit 245f523d3414792c5e6640f0483c2d8cff9704ed) and is described in advisory GHSA-h4mc-mqxc-5vrm. In parallel, correct the deployment so each process's /proc mount matches its own PID namespace - avoid 'unshare --pid' without '--mount-proc' and 'nsenter --pid' without '--mount' for workloads that use filelock soft locks - since matching the mount to the namespace removes the condition entirely. Be aware of the trade-off introduced by the fix: when the mount cannot supply a reliable start token, filelock records and compares no token and falls back to PID-only liveness, so PID reuse may leave a dead holder's marker in place until its configured lifetime expires or an operator verifies the lock is abandoned and clears it; sizing marker lifetimes accordingly is the compensating control for that residual behavior.
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 is a Python library offering both OS-level locks and "soft" advisory locks implemented with marker files. To detect a stale marker, the soft-lock implementation reads a process start token from procfs (the starttime field in /proc/<pid>/stat) and compares it against the recorded token, so a recycled PID can be distinguished from the original holder. That reasoning assumes /proc numbers tasks according to the reader's own PID namespace. A procfs is numbered by the namespace of the process that mounted it, so a process running under 'unshare --pid' without '--mount-proc', or 'nsenter --pid' without '--mount', can read /proc/<pid> and find a completely unrelated task - possibly belonging to another user - occupying that numeric PID. Replacing that unrelated task's start token then makes the live holder look like a recycled PID, the stale check passes, and two processes enter the protected section, which is the improper-locking weakness described by CWE-667. The upstream fix in commit 245f523d3414792c5e6640f0483c2d8cff9704ed adds a _proc_numbers_tasks_as_here check that compares the /proc/self symlink against os.getpid() and inspects the NSpid lines in /proc/self/status; when the procfs belongs to a different PID namespace, no start token is recorded or compared and the stale check falls back to the PID alone. As the advisory documents, that fallback has its own consequence: PID reuse can leave a dead holder's marker in place until its configured lifetime expires or an operator clears it.
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:N
Local only and dependent on a foreign-procfs misconfiguration plus PID collision (AV:L, AC:H); attacker needs a local account to control the colliding task (PR:L); impact is concurrent protected-section access, so I:L with C:N/A: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, on Linux, a soft lock can mistake a live holder for a stale one when the locking processes see a /proc mount from a different PID namespace. If the same numeric PID identifies an unrelated process in that namespace, changes to that process can allow two holders into the protected section at the same time. 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
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-143599
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB