# CVE-2026-112937: filelock: ReadWriteLock on the hard-link route deletes any directory another user renames onto its .filelock-\* link directory name

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, 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-21
- Aliases: DEBIAN-CVE-2026-112937, UBUNTU-CVE-2026-112937, GHSA-jqc4-5cvw-7w85, CGA-hxhw-9w4j-gp28, CGA-8w2w-xjjp-wj27, CGA-gcwj-2xrj-c3w7, CGA-pg6h-f8w9-xq22, CGA-7hcv-7mmh-vc8r, CGA-2xfm-g6r5-29gc, CGA-7f9q-42hr-vrq9, CGA-fp4x-6m82-m682, CGA-745m-5hqg-42qv, CGA-c29f-2w75-c3j8, CGA-m2hh-3fpm-7rj2, CGA-w4p2-x6gg-p9gg
- Record: https://cvemate.com/vulnerability/CVE-2026-112937 · JSON: https://cvemate.com/vulnerability/CVE-2026-112937/json

## Description

```text
filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, ReadWriteLock can remove a randomized .filelock-* private-hard-link directory during cleanup, allowing another local user with rename access in a non-sticky parent to observe a live name or forge a dead-owner sweep name and rename a sibling directory onto it for deletion. This issue is fixed in version 4.2.1.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
- EPSS: 0.162%, percentile 5.552%, 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 mlflow-fips-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 3.17.2-r3
- chainguard mlflow-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 3.17.2-r2
- chainguard py3.10-pytorch-cuda-12.6 (Chainguard): All versions (No fix recorded)
- 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)
- wolfi mlflow-iamguarded-compat (Wolfi): 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): ≥ 4.1.0, \< 4.2.1
- tox-dev filelock: ≥ 4.1.0, \< 4.2.1

## References

- <https://github.com/tox-dev/filelock/security/advisories/GHSA-jqc4-5cvw-7w85>
- <https://github.com/tox-dev/filelock/pull/834>
- <https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d>
- <https://github.com/tox-dev/filelock/releases/tag/4.2.1>
- <https://security-tracker.debian.org/tracker/CVE-2026-112937>
- <https://ubuntu.com/security/CVE-2026-112937>
- <https://www.cve.org/CVERecord?id=CVE-2026-112937>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112937>
- <https://github.com/tox-dev/filelock>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112937.json>

---

Data as of 2026-12-05T14:17:25.564Z. 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
