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

- Priority: **Routine**
- Reason: Not severe (CVSS 2.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-20 · Modified: 2026-10-20
- Aliases: DEBIAN-CVE-2026-112912, UBUNTU-CVE-2026-112912, GHSA-9j6q-wvj5-jgjg, CGA-9xx7-v72j-w8gw, CGA-m8wj-4gch-fpqf, CGA-9r6f-mp2v-gm7r, CGA-vm3g-v8h2-588v, CGA-5cm9-44fw-4q93, CGA-4x2c-gcqw-r6f4, CGA-446q-5hq2-3rhf, CGA-5g35-8x77-cg6g, CGA-6cg4-vphq-5j58, CGA-58xw-mgr7-r7j9, CGA-r825-r8j8-vc54
- Record: https://cvemate.com/vulnerability/CVE-2026-112912 · JSON: https://cvemate.com/vulnerability/CVE-2026-112912/json

## Description

```text
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.
```

## Signals

- CVSS: 2.5 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.213%, percentile 12.33%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard dagster (Chainguard): All versions (No fix recorded) \| \< 1.13.28-r1
- chainguard dagster-fips (Chainguard): All versions (No fix recorded) \| \< 1.13.28-r1
- chainguard litellm (Chainguard): All versions (No fix recorded) \| \< 1.106.6-r3
- chainguard litellm-fips (Chainguard): \< 1.106.6-r3
- chainguard py3.10-pytorch-cuda-13.0 (Chainguard): All versions (No fix recorded)
- chainguard py3.10-pytorch-cuda-13.2 (Chainguard): All versions (No fix recorded)
- debian python-filelock (Debian): All versions (No fix recorded) \| \< 4.2.8-1
- ubuntu python-filelock (Ubuntu): All versions (No fix recorded)
- PyPI filelock (PyPI): ≥ 3.32.6, \< 4.2.1
- tox-dev filelock: ≥ 3.32.6, \< 4.2.1

## References

- <https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg>
- <https://github.com/tox-dev/filelock/pull/835>
- <https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a>
- <https://github.com/tox-dev/filelock/releases/tag/4.2.1>
- <https://security-tracker.debian.org/tracker/CVE-2026-112912>
- <https://ubuntu.com/security/CVE-2026-112912>
- <https://www.cve.org/CVERecord?id=CVE-2026-112912>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112912>
- <https://github.com/tox-dev/filelock>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112912.json>

---

Data as of 2026-12-05T14:33:24.438Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
