CVE-2026-112941
LOW 3.3CVSS 3.1filelock: SoftReadWriteLock follows a lock tree swapped in after its first acquire and writes lock records into directories of the user running the lock
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.
- Published
- 20 Oct 2026
- Last modified
- 28 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-367
- Also known as
- GHSA-wfhq-q4j2-c37m
- Sources
- NVDJSONOSV GHSA-wfhq-q4j2-c37mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tox-dev | filelockcpe:2.3:a:tox-dev:filelock:*:*:*:*:*:python:*:* |
>= 4.1.0, < 4.2.1 | 4.2.1 |
| OSV | PyPI | filelock | >= 4.1.0, < 4.2.1 | 4.2.1 |
References
- https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03 · Patch, WEB
- https://github.com/tox-dev/filelock/pull/842 · Patch, WEB
- https://github.com/tox-dev/filelock/releases/tag/4.2.1 · Release Notes, WEB
- https://github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37m · Exploit, Mitigation, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-112941 · ADVISORY
- https://github.com/tox-dev/filelock · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 20 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 28 Oct 2026)