Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain separate local account on shared host
-
DeliveryReplace removed `<path>.rw` tree in sticky directory
-
ExploitRely on ext4 inode-number reuse
-
ExecutionTwo processes acquire write lock concurrently
-
ImpactCorrupt resource protected by the lock
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Ownership verification
|
| Exploitation Conditions | Exploitation requires all of the following: use of the SoftReadWriteLock class specifically; a shared sticky-bit location such as /tmp; a second, distinct local account able to create or replace directories in that shared location; Linux with inode-number reuse by the filesystem (confirmed on ext4); and the protocol directory being removed while a lock instance remains alive so a reused inode is re-trusted. Limiting factors that reduce real-world risk: local access only (no remote vector), the attacker must already hold a separate account, the high-complexity dependence on opportunistic inode reuse, and the narrow scope - only filelock 4.2.12 is confirmed affected, with version 4.3.0 adding per-open ownership/permission checks as the fix. The vendor states keeping the lock tree in place while instances are in use, and stopping processes before removing the tree, as the operational mitigation; upgrading to 4.3.0 is the complete fix. |
| Impact | This is a low-priority issue, consistent with its CVSS 3.1 base score of 2.2 and the 'monitor' decision label. The CVSS vector (AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N) describes a locally-exploitable, high-complexity flaw requiring an existing authenticated account (PR:L) and victim interaction (UI:R), with only limited integrity impact and no confidentiality or availability impact. The GitHub advisory and vendor description converge on the same picture: exploitation requires a second local account able to replace directories in a shared sticky location plus the filesystem reusing a previously trusted inode number - a narrow, opportunistic set of conditions, confirmed only on ext4. No EPSS score was supplied, the CVE is not in CISA KEV, and the references contain only the fixing commit, PR #988, the 4.3.0 release, and the GHSA advisory - no exploit code. There are no conflicting signals: every source agrees this is a hard-to-reach local integrity weakness, not a widely exploitable issue. One minor metadata discrepancy: the 'Information Disclosure' tag does not match the CVSS vector, which records C:N and only I:L, so this is an integrity/mutual-exclusion failure rather than a disclosure issue. |
| Exploit ScenarioDerived | On a shared Linux host using a sticky-bit directory such as /tmp, a second local user account replaces the SoftReadWriteLock's protocol ( |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 03, 2026
Overlapping write locks in Python's filelock SoftReadWriteLock can occur on Linux when the lock's protocol directory is removed while a lock instance is still alive and the filesystem later reuses a previously trusted inode number, allowing a second writer to hold the lock without a compromise notification. The confirmed affected release is filelock 4.2.12, and exploitation requires local access with low privileges (PR:L), a separate local account able to create or replace directories in a shared sticky-bit location such as /tmp, and opportunistic inode reuse (confirmed on ext4). Integrity impact is limited (I:L) with no confidentiality or availability impact per the assessed CVSS 3.1 vector (2.2); no public exploit was identified at time of analysis, and the fix is in filelock 4.3.0.
RemediationAI
Vendor-released patch: upgrade filelock to 4.3.0 or later, which adds per-open ownership and permission checks so a replaced or inode-reused protocol directory is refused. The vendor's operational mitigation is to keep the lock tree in place while lock instances are in use; if the tree must be removed, stop the processes that used it before resuming lock operations. The upstream changelog also states that an unsafe existing tree should be removed so the lock can create private directories. Advisory and fix references: https://github.com/tox-dev/filelock/security/advisories/GHSA-fff3-xpx8-wvvv, https://github.com/tox-dev/filelock/pull/988, https://github.com/tox-dev/filelock/releases/tag/4.3.0 and https://github.com/tox-dev/filelock/commit/45ad9959a4ab8b78fc701db9b4947517f54fb232.
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's SoftReadWriteLock stores its protocol state in a <path>.rw tree containing gen and holders directories, typically under a shared sticky-bit parent such as /tmp. The root cause class is CWE-283 (Unverified Ownership): before 4.3.0, the implementation cached each directory's (st_dev, st_ino) identity and skipped the ownership check when a later open matched a cached identity. If another account removes the protocol tree while a lock instance remains alive and the filesystem reuses the inode number for a replacement directory, the stale identity is re-trusted and two processes can both hold the write lock. The upstream fix removes the identity cache and calls _raise_if_untrusted_directory on every open, checking ownership against both the parent and the lock directory and refusing any <path>.rw, gen or holders directory that is group- or other-writable under a sticky parent. The trigger requires the specific sequence described in the advisory (directory removal while an instance is alive plus inode-number reuse); it is not a generic SoftReadWriteLock flaw, and the advisory notes confirmation on ext4 without a compromise notification.
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:R/S:U/C:N/I:L/A:N
Local shared-host flaw needing a second account (PR:L) and victim directory removal (UI:R), gated on opportunistic inode reuse (AC:H), with only lock-integrity impact (I:L, 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, two processes can both hold a SoftReadWriteLock write lock after its protocol directory is removed while a lock instance remains alive. This requires another account able to replace directories in the shared location and filesystem reuse of a previously trusted inode number. The overlap was confirmed on ext4, without a compromise notification. 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-143614
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB