# CVE-2026-112935: filelock: SoftFileLock stale-lock break removes a live lock file on a reused inode number and admits two holders

- 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.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T14:32:25.740Z
- Modified: 2026-10-28T21:15:04.933Z
- Also known as: GHSA-fq56-3cx3-fjxp
- Weaknesses: CWE-367
- 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 3.22.0 until 4.2.1, SoftFileLock can break a stale marker after an attacker frees its own marker following the stale read, an honest contender creates a live successor on the reused inode, and the successor's modification time is not newer than the saved observation, causing the live marker to be removed and two holders to be admitted. This issue is fixed in version 4.2.1.

(As written by CVE List.)

## Affected

- tox-dev filelock: >= 3.22.0, < 4.2.1; from 3.22.0 before 4.2.1
- filelock (PyPI): from 3.22.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-fq56-3cx3-fjxp> (exploit, mitigation, patch, vendor-advisory, web)
- <https://github.com/tox-dev/filelock/pull/843> (patch, 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-112935> (advisory)
- <https://github.com/tox-dev/filelock> (package)

## Sources

- CVE List: [CVE-2026-112935](https://www.cve.org/CVERecord?id=CVE-2026-112935), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-fq56-3cx3-fjxp](https://github.com/advisories/GHSA-fq56-3cx3-fjxp), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-112935](https://nvd.nist.gov/vuln/detail/CVE-2026-112935), Public domain, modified 2026-10-28

---

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