# CVE-2026-112912: filelock: Symlink swap during SoftFileLock's writability check leaks whether a path exists and is writable by the lock taker

- 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:L/I:N/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.21%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T14:23:18.993Z
- Modified: 2026-10-28T21:15:05.577Z
- Also known as: GHSA-9j6q-wvj5-jgjg
- Weaknesses: CWE-59
- 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.32.6 until 4.2.1, SoftFileLock can follow a swapped symbolic link during the conditional os.access writability check for a node without its owner-write bit, allowing another local user on a platform and directory configuration that follows the link to infer whether a chosen path exists and is writable from the observable acquisition result. This issue is fixed in version 4.2.1.

(As written by CVE List.)

## Affected

- tox-dev filelock: >= 3.32.6, < 4.2.1; from 3.32.6 before 4.2.1
- filelock (PyPI): from 3.32.6 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:L/I:N/A:N`
- GitHub: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg> (exploit, mitigation, patch, vendor-advisory, web)
- <https://github.com/tox-dev/filelock/pull/835> (patch, web)
- <https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a> (patch, web)
- <https://github.com/tox-dev/filelock/releases/tag/4.2.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112912> (advisory)
- <https://github.com/tox-dev/filelock> (package)

## Sources

- CVE List: [CVE-2026-112912](https://www.cve.org/CVERecord?id=CVE-2026-112912), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-9j6q-wvj5-jgjg](https://github.com/advisories/GHSA-9j6q-wvj5-jgjg), CC-BY-4.0, modified 2026-10-28
- NVD: [CVE-2026-112912](https://nvd.nist.gov/vuln/detail/CVE-2026-112912), Public domain, modified 2026-10-21

---

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