# CVE-2026-112914: filelock: SoftFileLock stale-break restore follows a swapped-in symbolic link and hard-links a file of the user running the lock into the lock directory

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/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.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T14:26:18.813Z
- Modified: 2026-10-23T22:15:05.387Z
- Also known as: GHSA-crv4-6mhj-j5jh
- Weaknesses: CWE-59, CWE-363
- SSVC (CISA-ADP): exploitation none, 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 can restore a stale marker by name after moving it aside, allowing another local user with rename access in a non-sticky lock directory to swap in a symbolic link and, on a runtime that follows the link and a same-filesystem target, make the lock user hard-link one of its files into the lock directory. 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 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://github.com/tox-dev/filelock/security/advisories/GHSA-crv4-6mhj-j5jh> (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-112914> (advisory)
- <https://github.com/tox-dev/filelock> (package)

## Sources

- CVE List: [CVE-2026-112914](https://www.cve.org/CVERecord?id=CVE-2026-112914), CVE Terms of Use, modified 2026-10-21
- GitHub Advisory Database: [GHSA-crv4-6mhj-j5jh](https://github.com/advisories/GHSA-crv4-6mhj-j5jh), CC-BY-4.0, modified 2026-10-23
- NVD: [CVE-2026-112914](https://nvd.nist.gov/vuln/detail/CVE-2026-112914), Public domain, modified 2026-10-21

---

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