gptline · filelock: SoftFileLock stale-break restore follows a swapped-in symbolic link and hard-links a file of the user
Affects gptlineSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.0.8_25 when convenient.
Data as of 4 Dec 2026, 20:16 UTC
- Patch
- Available – fixed in 1.0.8_25, 4.2.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade gptline to 1.0.8_25; filelock to 4.2.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewgptlinepkg:brew/gptlineOther threats | Affected
| Fixed in
|
PyPIfilelockpkg:pypi/filelockOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in filelock version 1.0.8_25 that fixes this vulnerability. Users should upgrade to this version or later. The vulnerability only applies if the lock directory is writable by other users and lacks the sticky bit; ensuring the lock directory and its ancestors are owned by the lock user or root and are not writable by others or are sticky can also mitigate the risk. No additional action is required if these conditions are not met.
Description
A vulnerability in filelock versions 4.1.0 through 4.2.0 allows a local unprivileged user to exploit a race condition in the soft-lock stale break restore process. By replacing a lock file with a symbolic link in a writable, non-sticky directory shared with the lock user, the attacker can cause the lock user to create a hard link to one of their own files. This exposes file metadata and can lead to unintended truncation or modification of the file by the lock user's subsequent operations. The issue requires specific conditions including a writable directory without the sticky bit and the use of CPython 3.12 or later on Linux or macOS. The vulnerability has a medium severity rating with a CVSS score of 5.3.
References
- github.com/tox-dev/filelock/security/advisories/GHSA-crv4-6mhj-j5jh (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-112914 (opens in a new tab)
- github.com/tox-dev/filelock/pull/843 (opens in a new tab)
- github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b (opens in a new tab)
- github.com/tox-dev/filelock (opens in a new tab)
- github.com/tox-dev/filelock/releases/tag/4.2.1 (opens in a new tab)