Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local account in a user namespace
-
DeliveryPlant protocol tree in shared sticky /tmp
-
ExploitStat reports attacker tree as overflow UID
-
ExecutionTree accepted as trusted locking account
-
ImpactReader admitted while writer holds 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 a Linux (or Android) system using filelock 4.2.12's SoftReadWriteLock, StrictSoftFileLock, or UnixFileLock with a lock path under a sticky-bit parent directory (such as /tmp) that is shared across a trust boundary, plus an attacker operating inside a Linux user namespace or idmapped mount so that an attacker-owned lock file or protocol directory is reported by stat with the kernel overflow UID (typically 65534), the same UID used for other unmapped accounts. The attacker must be able to supply or replace the protocol tree in that shared directory. Limiting factors: it is local-only (AV:L), high-complexity (AC:H) because it depends on this specific namespace/overflow-UID collision and a shared sticky directory, does not apply to non-Linux platforms, does not apply when a private lock directory with a verified mapped owner is used, and only breaks lock coordination (no disclosure or code execution). The vendor states that a lock directory with a verified, mapped owner where untrusted accounts cannot supply the protocol tree is the workaround, and upgrading to 4.3.0 is the fix. |
| Impact | This is a genuinely low-priority issue, and the signals agree rather than conflict. The input CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L, base 3.6) describes a local, high-complexity, authenticated flaw with no confidentiality impact and only low integrity/availability impact - consistent with a lock-coordination correctness bug rather than code execution. The vuln.today decision label is 'monitor', the weakest urgency tier, and there is no CISA KEV listing, so this is not confirmed actively exploited. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified here. No public exploit or PoC reference was supplied - the only code links are the upstream fix (PR #977), the 4.3.0 release, and the GHSA advisory - so the status is no public exploit identified at time of analysis. The impact ceiling is modest: SoftReadWriteLock (and StrictSoftFileLock/UnixFileLock) can be tricked into treating an attacker-owned protocol tree as trusted, admitting a reader while a writer holds the lock, which breaks mutual exclusion and can cause data races/corruption - but it does not grant code execution, privilege escalation, or data disclosure. Net: a low-CVSS, low-real-risk hardening fix, not an emergency. |
| Exploit ScenarioDerived | On a Linux host where a user namespace or idmapped mount shares a sticky lock directory such as /tmp with the host, an attacker operating under that namespace creates a lock file or protocol directory whose owner stat reports as the overflow UID (typically 65534), the same value used for unrelated unmapped accounts. A victim process using SoftReadWriteLock accepts this attacker-owned tree as belonging to the trusted locking account and admits a reader while a writer still holds the lock, breaking the reader/writer exclusion guarantee and risking data corruption. No public exploit code was identified; exploitation is high-complexity and requires the specific shared-sticky-directory and namespace conditions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 03, 2026
Lock-coordination bypass in the Python filelock package affects version 4.2.12 (all releases prior to 4.3.0 per the upstream advisory) when SoftReadWriteLock, StrictSoftFileLock or UnixFileLock is used with a lock path inside a sticky-bit parent such as /tmp that is shared across a trust boundary. A local, low-privileged attacker operating inside a Linux user namespace or idmapped mount can have an attacker-owned lock file or protocol directory reported by stat with the kernel overflow UID (typically 65534) - the same value reported for other unmapped accounts - so filelock treats the foreign tree as belonging to the locking account and admits a reader while a writer already holds the lock, breaking mutual exclusion. Impact is limited to integrity and availability of the locking protocol (no disclosure, no code execution), exploitation is local and high-complexity per the assessed vector, no public exploit has been identified at time of analysis, and the fix is the 4.3.0 release, which refuses nodes whose reported owner is ambiguous.
RemediationAI
Upgrade to filelock 4.3.0 or later, which is the vendor-released patch: the ownership check now detects the Linux overflow UID (read from /proc/sys/kernel/overflowuid) and rejects an ambiguous owner instead of treating a matching numeric ID as proof of ownership, and it fails closed when that value cannot be read. Advisory and release details are at https://github.com/tox-dev/filelock/security/advisories/GHSA-7mx6-8qvh-pvc4 and https://github.com/tox-dev/filelock/releases/tag/4.3.0, with the code change in https://github.com/tox-dev/filelock/pull/977. Where upgrading cannot be done immediately, the vendor's stated workaround is to move the lock directory to a location with a verified, mapped owner where untrusted accounts cannot create or replace the protocol tree - for example a directory private to the locking account rather than a shared sticky parent such as /tmp; the trade-off is that a private lock directory is not usable for coordination between mutually untrusting accounts that deliberately share a lock path, and note that accounts which legitimately use the overflow UID themselves will see refusals under the new check unless they use a private lock directory.
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 implements advisory file locking for Python and, in its 'soft' variants, coordinates lock holders through a protocol directory next to the lock file rather than relying solely on the kernel. To decide whether a node is safe to trust, the library compares the reported owner (st_uid from stat) against the current effective UID and the parent directory's owner - the logic in src/filelock/_util.py's foreign_owner(). The root cause is CWE-283 (unverified ownership): on Linux, user namespaces and idmapped mounts collapse all unmapped file owners onto a single overflow UID (normally 65534, configurable via /proc/sys/kernel/overflowuid), so a numeric UID match is no longer proof of ownership. Under a sticky parent such as /tmp, where any account may create entries but only the owner may remove them, an attacker in a namespace can therefore supply or replace the .rw/.filelock protocol tree and have it accepted as the locking account's own, producing overlapping lock holders. The 4.3.0 fix adds an _ambiguous_owner() helper: on Linux/Android it reads the configured overflow UID and refuses a lock file or protocol directory whose reported owner matches it; if the overflow UID cannot be read (OSError/ValueError), it conservatively refuses every node whose reported owner equals the locking account or the parent's owner, since equality from stat cannot prove ownership. Non-Linux platforms are unaffected. The advisory is credited to OSS Scanner (ANT-2026-50TKW02X).
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-only (AV:L); AC:H because it needs a namespace overflow-UID collision in a shared sticky directory; PR:L as the attacker needs a local account; C:N, I:L/A:L reflect broken lock integrity, not disclosure.
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, a Linux user namespace can report the same overflow UID for unrelated host accounts. When the namespace shares a sticky lock directory with the host, SoftReadWriteLock can accept another account's protocol tree as trusted and admit a reader while a writer holds the lock. 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-143596
NVD
CVE.org
GitHub
Exploit-DB