# CVE-2026-112906: filelock: SoftFileLock evicts a fresh lock file whose watched age another local user's pre-dated file passed on through inode reuse

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T14:09:51.934Z
- Modified: 2026-10-27T21:06:04.367Z
- Also known as: GHSA-2g95-wg33-c5x2
- Weaknesses: CWE-362, CWE-694
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- tox-dev filelock: >= 4.1.0, < 4.2.1; from 4.1.0 before 4.2.1
- filelock (PyPI): from 4.1.0 before 4.2.1

## Every score

- GitHub_M: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/tox-dev/filelock/security/advisories/GHSA-2g95-wg33-c5x2> (exploit, mitigation, patch, vendor-advisory, web)
- <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://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)

## Sources

- CVE List: [CVE-2026-112906](https://www.cve.org/CVERecord?id=CVE-2026-112906), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-2g95-wg33-c5x2](https://github.com/advisories/GHSA-2g95-wg33-c5x2), CC-BY-4.0, modified 2026-10-23
- NVD: [CVE-2026-112906](https://nvd.nist.gov/vuln/detail/CVE-2026-112906), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-112906 · Whole record: https://cve.day/CVE-2026-112906.json · Rebuilt by cve.day 2026-11-25T22:59:46.032Z
