CVE-2026-112912
filelock: Symlink swap during SoftFileLock's writability check leaks whether a path exists and is writable by the lock taker
Description
filelock is a platform-independent file lock for Python. From 3.32.6 until 4.2.1, SoftFileLock can follow a swapped symbolic link during the conditional os.access writability check for a node without its owner-write bit, allowing another local user on a platform and directory configuration that follows the link to infer whether a chosen path exists and is writable from the observable acquisition result. This issue is fixed in version 4.2.1.
INFO
Published Date :
Oct. 20, 2026, 3:17 p.m.
Last Modified :
Oct. 21, 2026, 9:18 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | LOW | MITRE-CVE | ||||
| CVSS 3.1 | LOW | [email protected] |
Solution
- Update filelock to version 4.2.1 or later.
- Apply the vendor-supplied patch or fix.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-112912.
| URL | Resource |
|---|---|
| https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a | Patch |
| https://github.com/tox-dev/filelock/pull/835 | Patch |
| https://github.com/tox-dev/filelock/releases/tag/4.2.1 | Release Notes |
| https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg | Exploit Mitigation Patch Vendor Advisory |
| https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg | Exploit Mitigation Patch Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-112912 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-112912
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-112912 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-112912 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 21, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:tox-dev:filelock:*:*:*:*:*:python:*:* versions from (including) 3.32.6 up to (excluding) 4.2.1 Added Reference Type GitHub, Inc.: https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a Types: Patch Added Reference Type GitHub, Inc.: https://github.com/tox-dev/filelock/pull/835 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/tox-dev/filelock/releases/tag/4.2.1 Types: Release Notes Added Reference Type CISA-ADP: https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg Types: Exploit, Mitigation, Patch, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg Types: Exploit, Mitigation, Patch, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 20, 2026
Action Type Old Value New Value Added Reference https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg Added SSVC {'id': 'CVE-2026-112912', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-20T15:37:27.795354Z'} -
New CVE Received by [email protected]
Oct. 20, 2026
Action Type Old Value New Value Added Description filelock is a platform-independent file lock for Python. From 3.32.6 until 4.2.1, SoftFileLock can follow a swapped symbolic link during the conditional os.access writability check for a node without its owner-write bit, allowing another local user on a platform and directory configuration that follows the link to infer whether a chosen path exists and is writable from the observable acquisition result. This issue is fixed in version 4.2.1. Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N Added CWE CWE-59 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/112xxx/CVE-2026-112912.json">CVE-2026-112912</a> Added Reference https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a Added Reference https://github.com/tox-dev/filelock/pull/835 Added Reference https://github.com/tox-dev/filelock/releases/tag/4.2.1 Added Reference https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg