Skip to main content
CVE-2026-112914VulnerabilityPublished Updated

gptline · filelock: SoftFileLock stale-break restore follows a swapped-in symbolic link and hard-links a file of the user

Affects gptlineSource GCVE Database

0
Compare
Authoritative record:CVE-2026-112914· Medium 5.3

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

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewgptlinepkg:brew/gptlineOther threatsAffected
  • >=1.0.8_24 <1.0.8_25
Fixed in
  • 1.0.8_25
PyPIfilelockpkg:pypi/filelockOther threatsAffected
  • 4.1.0 – 4.2.0
  • >=4.1.0 <4.2.1
4 affected builds
Fixed in
  • 4.2.1

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

Community reviews

Loading reviews…