# CVE-2026-112907: filelock: On Windows an oplock on a soft lock's marker holds SoftFileLock.acquire() past its timeout and blocks the stale break

- Severity: Low 2.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L`
- 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.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-23T22:27:32.000Z
- Modified: 2026-11-10T05:17:42.503Z
- Also known as: GHSA-567q-5qvw-pf92
- Weaknesses: CWE-667
- 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, soft lock classes on Windows read an existing marker with _read_lock_file and remove a stale marker through break_lock_file using pathname operations that wait for an oplock break. Another local account with read access to an unheld marker can keep a Level 1 or batch oplock unanswered, causing SoftFileLock.acquire and related async or fallback locks to wait beyond timeout, blocking=False, and cancel_check. A stale marker under the oplock cannot be broken, but mutual exclusion remains intact and no file other than the marker is accessed. This issue is fixed in version 4.2.1.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/tox-dev/filelock/security/advisories/GHSA-567q-5qvw-pf92> (exploit, web)
- <https://github.com/tox-dev/filelock/pull/835> (web)
- <https://github.com/tox-dev/filelock/commit/97d694a9a3ee1721d6c79a480174dfd9b060a080>
- <https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a> (web)
- <https://github.com/tox-dev/filelock/releases/tag/4.2.1> (web)
- <https://github.com/tox-dev/filelock> (package)

## Sources

- CVE List: [CVE-2026-112907](https://www.cve.org/CVERecord?id=CVE-2026-112907), CVE Terms of Use, modified 2026-11-10
- GitHub Advisory Database: [GHSA-567q-5qvw-pf92](https://github.com/advisories/GHSA-567q-5qvw-pf92), CC-BY-4.0, modified 2026-10-23
- NVD: [CVE-2026-112907](https://nvd.nist.gov/vuln/detail/CVE-2026-112907), Public domain, modified 2026-11-10

---

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