CVE-2026-112906
MEDIUM 4.7CVSS 3.1filelock: SoftFileLock evicts a fresh lock file whose watched age another local user's pre-dated file passed on through inode reuse
filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftFileLock versions from 4.1.0 can reuse a stale observation when an attacker pre-dates and removes its own marker, at least two lock-user processes are waiting, coarse or matching modification times preserve the observation, and an honest contender creates a fresh marker on the reused inode, causing that live marker to be removed as stale. This issue is fixed in version 4.2.1.
- Published
- 20 Oct 2026
- Last modified
- 27 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-362CWE-694
- Also known as
- GHSA-2g95-wg33-c5x2
- Sources
- NVDJSONOSV GHSA-2g95-wg33-c5x2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/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/740ff666b62a88496c8d7394e4e6230605e4d62b · 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-2g95-wg33-c5x2 · Exploit, Mitigation, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-112906 · ADVISORY
- https://github.com/tox-dev/filelock/pull/843 · WEB
- 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:11 UTC · OSV: first stored (published 23 Oct 2026)