CVE-2026-112912

GHSA-9j6q-wvj5-jgjg · published 20 Oct 2026 · updated 28 Oct 2026

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

2.5LowCVSS 2.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in filelock 4.2.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
tox-dev>=3.32.6 <4.2.1
pypi: filelock>=3.32.6 <=4.2.04.2.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in filelock (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112912 severity on Zeptric[![CVE-2026-112912](https://zeptric.io/badge/cve/CVE-2026-112912.svg)](https://zeptric.io/cve/CVE-2026-112912)