# CVE-2026-112936: filelock: ReadWriteLock follows a symlink at the lock path into SQLite

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/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.23%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T14:34:47.210Z
- Modified: 2026-10-28T21:15:04.169Z
- Also known as: GHSA-j8f7-rjxc-mr56
- Weaknesses: CWE-59, CWE-668
- 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.20.4 until 4.0.9, ReadWriteLock and AsyncReadWriteLock versions from 3.20.4 resolve the lock path and pass it to SQLite without rejecting a final symbolic link, allowing another local user who can create names in the lock directory to redirect database creation and locking or split mutual exclusion between targets. This issue is fixed in version 4.0.9.

(As written by CVE List.)

## Affected

- tox-dev filelock: >= 3.20.4, < 4.0.9; from 3.20.4 before 4.0.9
- filelock (PyPI): from 3.20.4 before 4.0.9

## Every score

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

## References

- <https://github.com/tox-dev/filelock/security/advisories/GHSA-j8f7-rjxc-mr56> (exploit, vendor-advisory, web)
- <https://github.com/tox-dev/filelock/commit/4d45e83caf7e31f9a12fb44526bdc07f70114f04> (patch, web)
- <https://github.com/tox-dev/filelock/releases/tag/4.0.9> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112936> (advisory)
- <https://github.com/tox-dev/filelock> (package)

## Sources

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

---

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