hatch · filelock: SoftFileLock evicts a fresh lock file whose watched age another local user's pre-dated file passed on
Affects hatchSource GCVE Database
Not known to be exploited · CVSS 4.7 Medium : upgrade to 1.18.1_2 when convenient.
Data as of 27 Oct 2026, 23:27 UTC
- Patch
- Available – fixed in 1.18.1_2
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade hatch to 1.18.1_2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewhatchpkg:brew/hatchOther 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.18.1_2 that fixes this issue. Users should upgrade to this fixed version or later. The vulnerability only affects filesystems that reuse inode numbers immediately (ext4, overlayfs on ext4) and directories where the attacker can create files. Using StrictSoftFileLock raises errors instead of breaking locks. No additional mitigation is required if the patch is applied.
Description
A vulnerability in filelock versions 4.1.0 through 4.2.0 allows a local user to evict a fresh lock file owned by another user by exploiting inode reuse and coarse clock timestamp manipulation on certain filesystems like ext4. This causes two processes of the lock owner to enter a critical section simultaneously, violating lock integrity without affecting confidentiality or availability. The attack requires local access, specific filesystem behavior, and precise timing, making exploitation complex and unreliable.
References
- github.com/tox-dev/filelock/security/advisories/GHSA-2g95-wg33-c5x2 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-112906 (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)