Skip to main content

filelock CVE-2026-144394

| EUVDEUVD-2026-143614 LOW
Unverified Ownership (CWE-283)
2026-12-03 security-advisories@github.com
2.2
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Obtain separate local account on shared host
  2. Delivery
    Replace removed `<path>.rw` tree in sticky directory
  3. Exploit
    Rely on ext4 inode-number reuse
  4. Execution
    Two processes acquire write lock concurrently
  5. Impact
    Corrupt 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 (<path>.rw) tree after the original is removed while a lock instance remains alive, relying on ext4 reusing a previously trusted inode number. Because the stale-identity check trusted the reused inode, two processes can then simultaneously hold the write lock, breaking mutual exclusion over whatever resource the lock protects. No public exploit identified at time of analysis; the flaw was reported by the vendor and confirmed on ext4 without a compromise notification.

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

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

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'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

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

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).

3.1 AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N
4.0 AV:L/AC:H/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/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
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Dec 03, 2026 - 20:35 EUVD
CVE Published
Dec 03, 2026 - 20:17 cve.org
LOW 2.2

DescriptionCVE.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

Prevalence
High
filelock is a heavily-used Python dependency, but SoftReadWriteLock feature is newer
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

11
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +11
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