Vulnerabilities in pkg:pypi/filelock
PACKAGECVE-2026-144342 is a LOW (CVSS 2.5) read-only local account can stall vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting filelock libraries in the PyPI ecosystem. The issue involves read-only local account can stall strict lock acquisition on windows. Remediation is available by upgrading affected packages to version 4.3.0.
pkg:pypi/filelock
Vulnerability advisories affecting package pkg:pypi/filelock. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-jcqr-c9r9-vgjh | CVE-2026-144342 | LOW | filelock: Read-only local account can stall strict lock acquisition on Windows |
| GHSA-5qxg-3g64-7g62 | CVE-2026-144338 | LOW | filelock: Shared-directory entries delay read-write locks beyond timeout |
| GHSA-fmp2-7mgr-gp5h | CVE-2026-144334 | MODERATE | filelock: Planted Windows path prevents private soft-lock recovery |
| GHSA-x9cq-qqfm-8972 | CVE-2026-144341 | LOW | filelock: Readable database oplock delays async cancellation on Windows |
| GHSA-7mx6-8qvh-pvc4 | CVE-2026-144382 | LOW | filelock: Linux overflow UID can admit attacker-owned lock trees |
| GHSA-gqj6-5294-r46r | CVE-2026-144381 | LOW | filelock: Strict soft lock can chmod unrelated directory |
| GHSA-hjx8-83j4-9x3q | CVE-2026-144353 | LOW | filelock: ReadWriteLock can delete a private file from a leftover SQLite journal |
| GHSA-x3f4-g3q6-f985 | CVE-2026-144386 | LOW | filelock: SoftReadWriteLock heartbeat overwrites victim-owned files after inode reuse |
| GHSA-69rv-9gxw-r2jh | CVE-2026-144351 | LOW | filelock: SoftFileLock recovery can admit two holders through a foreign-owned record |
| GHSA-gvhc-qmqx-22pq | CVE-2026-144350 | LOW | filelock: SoftFileLock recovery can admit two holders through a live break name |
| GHSA-vggp-mrgc-7g8j | CVE-2026-144385 | LOW | filelock: ReadWriteLock write holds overlap after WAL header race |
| GHSA-j77v-qg7h-37qr | CVE-2026-144387 | LOW | filelock: SoftReadWriteLock timeout overrun on growing generation log |
| GHSA-v72p-9mx4-gh3c | CVE-2026-144352 | LOW | filelock: ReadWriteLock write holds overlap on read-only SQLite header |
| GHSA-h4mc-mqxc-5vrm | CVE-2026-144384 | LOW | filelock: Soft locks admit overlapping holders with a foreign procfs mount |
| GHSA-6hxh-7x44-pwfg | CVE-2026-144389 | LOW | filelock: Windows read-handle oplock holds stale soft-lock recovery past timeout |
| GHSA-8f2v-28m2-26xx | CVE-2026-144388 | LOW | filelock: Temporary-directory exhaustion can expose files through strict lock publication |
| GHSA-f37p-fqrx-f498 | CVE-2026-144392 | LOW | filelock: Read-only oplock can hold strict lock acquisition past its timeout |
| GHSA-q5j8-xrw5-8mhf | CVE-2026-144391 | LOW | filelock: Writable strict sentinel can admit a soft lock beside its holder |
| GHSA-8gxc-gmm5-cjc4 | CVE-2026-144383 | LOW | filelock: Failed async release can unlock under a later holder |
| GHSA-jw9g-h6rh-jp8v | CVE-2026-144393 | LOW | filelock: SoftReadWriteLock admits overlapping writers through a moved writable tree |
| GHSA-6w8w-m5rc-xhvp | CVE-2026-144403 | LOW | filelock: Mixed strict and soft locks can overlap after foreign sentinel removal |
| GHSA-fff3-xpx8-wvvv | CVE-2026-144394 | LOW | filelock: SoftReadWriteLock admits overlapping writers after directory inode reuse |
| GHSA-22wc-j8c9-7gxg | CVE-2026-144395 | MODERATE | filelock: ReadWriteLock can overwrite victim-owned files through a directory swap |
| GHSA-qhq2-c99f-cqjv | CVE-2026-144404 | LOW | filelock: Read-only handles can strand strict lock claims on Windows |
| GHSA-386w-3w6q-9c53 | CVE-2026-144405 | LOW | FileLock on Unix lets two processes hold one lock after another user removes the lock file |
| GHSA-qg3h-xpfc-449f | CVE-2026-144336 | LOW | filelock: Crafted lock database delays free ReadWriteLock acquisition |
| GHSA-cx2x-xp53-fq3w | CVE-2026-144335 | MODERATE | filelock: Failed async lock construction disables fork resets for other locks |
| GHSA-f65c-c2qh-wf3m | CVE-2026-144333 | LOW | filelock: Planted claims delay bounded StrictSoftFileLock acquires |
| GHSA-c7vg-7rqj-fjhq | CVE-2026-144340 | MODERATE | filelock: Untrusted lock waits can stall release of private async locks |
| GHSA-57mc-wxv7-332q | CVE-2026-144339 | LOW | filelock: Read-handle oplock stalls unrelated async tasks on Windows |
| GHSA-jcf5-mpj4-xfg8 | CVE-2026-144349 | MODERATE | filelock: ReadWriteLock can remove unrelated empty directories |
| GHSA-qmgc-5h2g-mvrw | CVE-2026-22701 | MODERATE | filelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock |
| GHSA-w853-jp5j-5j7f | CVE-2025-68146 | MODERATE | filelock has a TOCTOU race condition which allows symlink attacks during lock file creation |
CVE-2026-144342 at a Glance
Security Impact
CVSS: 2.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2026-144342
To remediate this vulnerability, upgrade all affected filelock dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install filelock>=4.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show filelock
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-144342, inspect your installed packages using pip:
pip show filelock
Analyze the terminal output to locate any version of filelock in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.3.0), your application is affected.
Note: The pip show filelock command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In filelock, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-144342 Affected filelock Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
filelock
|
PyPI |
< 4.3.0
|
4.3.0
|
References
Frequently Asked Questions
What is CVE-2026-144342?
Which filelock versions are affected?
What version fixes CVE-2026-144342?
Is filelock affected?
What is the CVSS score of CVE-2026-144342?
What CWE is associated with CVE-2026-144342?
How can I check PyPI dependencies for CVE-2026-144342?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jcqr-c9r9-vgjh",
"modified" : "2026-12-04T22:52:20Z",
"published" : "2026-12-04T22:52:20Z",
"aliases" : [ "CVE-2026-144342" ],
"summary" : "filelock: Read-only local account can stall strict lock acquisition on Windows",
"details" : "## Impact\n\nOn Windows, a local account with read access to a shared strict-lock claims directory can delay a later `StrictSoftFileLock` acquisition beyond its timeout. This requires an aged private record left by an interrupted acquisition. The observed effect was a delayed acquisition.\n\n## Affected versions and mitigation\n\nConfirmed affected: `= 4.2.12`. Upgrade to `4.3.0`.\n\nWindows acquisitions now validate private records and leave them in place. Restrict read access through the directory and inherited file ACLs. Repeated interruptions can accumulate records and slow scans. Stop all users of the lock before manually cleaning up stale private records. [Fix in PR #1045](https://github.com/tox-dev/filelock/pull/1045)\n\n## Credits\n\nFound during maintainer review of PR #989: `REVIEW-989-private-reclaim`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "filelock"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/tox-dev/filelock/security/advisories/GHSA-jcqr-c9r9-vgjh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-144342"
}, {
"type" : "WEB",
"url" : "https://github.com/tox-dev/filelock/pull/1045"
}, {
"type" : "WEB",
"url" : "https://github.com/tox-dev/filelock/commit/856b39c59e8dd6c85ef381927b8a76d369c108e5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tox-dev/filelock"
}, {
"type" : "WEB",
"url" : "https://github.com/tox-dev/filelock/releases/tag/4.3.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-04T22:52:20Z",
"nvd_published_at" : "2026-12-03T19:17:32Z"
}
}