CVE-2026-144381 is a low-severity (CVSS 3.6) CWE-732 vulnerability in filelock. A fix is available for filelock — see the affected versions and patch details below.
filelock: Strict soft lock can chmod unrelated directory
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-144381.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
filelockReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Impact
In a group-writable directory without the sticky bit, StrictSoftFileLock can mistake an unrelated directory owned by the locking account for its coordination directory. It can change that directory's permissions and create a claims directory inside it, disrupting access for other users.
Affected versions and fix
The confirmed affected version is 4.2.12. Upgrade to filelock 4.3.0 or later. The lock checks the claims directory and its entries before changing permissions. PR #978
Workaround
Use a trusted parent directory where other accounts cannot rename entries.
Credits
Reported by OSS Scanner (ANT-2026-8ERL4V7J).
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | filelock | all versions | 4.3.0pip install --upgrade 'filelock==4.3.0' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for filelock, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update filelock to 4.3.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-144381 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability is rated as Low severity because exploitation requires local system access and specific directory configurations where group-writable locations lack the sticky bit. In Red Hat Enterprise Linux, standard shared system locations such as /tmp and /var/tmp have the sticky bit set by default, mitigating…
To mitigate this issue, ensure that any shared or group-writable directory used for file locking has the sticky bit set, or restrict write permissions to the directory owner. 1. Enable the sticky bit on the target directory: # chmod +t /path/to/shared_directory 2. Alternatively, remove group-write permissions from the directory: # chmod g-w /path/to/shared_directory Caveats: Altering directory permissions may affect applications or workflows that rely on shared group write access.Source: Red Hat security advisory for CVE-2026-144381 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-144381 in your dependencies?
Find it across PyPI, including transitive dependencies.