CVE-2026-112941: filelock - File Inclusion
- Cve: CVE-2026-112941
- Name: filelock - File Inclusion
- Description: filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftReadWriteLock and AsyncSoftReadWriteLock cache a successful check of the <path>.rw lock tree and resolve its names again during later record operations, allowing another local user who can replace that tree after the first acquisition to redirect lock-record writes into directories writable by the lock user. This issue is fixed in version 4.2.1.
- Impact: Local attackers can redirect lock-record writes to writable directories, potentially modifying files they should not access.
- Remediation: Update to version 4.2.1 or later.
- Vulnerability type: file_inclusion
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.3
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00131
- Epss percentile: 0.02691
- Assignee: [email protected]
- Published at: 2026-10-20T15:17:16Z
- Age in days: 35
- Modified at: 2026-10-28T15:17:03Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-112941
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37m | nvd | 2026-10-20 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03 | Patch |
| https://github.com/tox-dev/filelock/pull/842 | Patch |
| https://github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37m | Exploit, Mitigation, Patch, Vendor Advisory |
| https://github.com/tox-dev/filelock/releases/tag/4.2.1 | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tox-dev:filelock | >= 4.1.0, < 4.2.1 | no | nvd | /v1/products/tox-dev/filelock |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| tox-dev/filelock | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/tox-dev/filelock |
Index
- Repositories: 150
- Repositories high signal: 115
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-10-20
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts