CVE-2026-112914: filelock: SoftFileLock stale-break restore follows a swapped-in symbolic link and hard-links a file of the user running the lock into the lock directory
Vulnerability summary
CVE-2026-112914 is a medium (CVSS 5.3) Race Condition Enabling Link Following vulnerability in tox-dev filelock. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.4% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.3, local access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 20-10-2026PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
Description
filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftFileLock can restore a stale marker by name after moving it aside, allowing another local user with rename access in a non-sticky lock directory to swap in a symbolic link and, on a runtime that follows the link and a same-filesystem target, make the lock user hard-link one of its files into the lock directory. This issue is fixed in version 4.2.1.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST5.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.16% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundFilelock
Maturity: poc
Weaknesses
CWE · root cause- CWE-363Race Condition Enabling Link FollowingThe product checks the status of a file or directory before accessing it, which produces a race condition in which the file can be replaced with a link before the access is performed, causing the product to access the wrong file.
- CWE-59Improper Link Resolution Before File AccessThe product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard7 products
- dagsterAll versions (No fix recorded)
- dagster-fipsAll versions (No fix recorded)
- mlflow-fips-iamguarded-compatAll versions (No fix recorded) | < 3.17.2-r3
- mlflow-iamguarded-compatAll versions (No fix recorded) | < 3.17.2-r2
- py3.10-pytorch-cuda-12.6All versions (No fix recorded)
Debian1 product
- python-filelockAll versions (No fix recorded) | < 4.2.8-1
PyPI1 product
- filelock≥ 4.1.0, < 4.2.1
Tox-dev1 product
- filelock≥ 4.1.0, < 4.2.1
Ubuntu1 product
- python-filelockAll versions (No fix recorded)
Wolfi1 product
- mlflow-iamguarded-compatAll versions (No fix recorded)
6 vendors · 12 products
References
10 links- github.com/tox-dev/filelock/security/advisories/GHSA-crv4-6mhj-j5jhX Refsource CONFIRMExploitMitigationPatchVendor AdvisoryREPORTWEBAdvisory
- github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62bX Refsource MISCPatchWEBFIX
- github.com/tox-dev/filelockPACKAGE