hatch · filelock: SoftReadWriteLock follows a lock tree swapped in after its first acquire and writes lock records into
Affects hatchSource GCVE Database
Not known to be exploited · CVSS 3.3 Low : upgrade to 1.18.1_2 when convenient.
Data as of 30 Oct 2026, 09:00 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 3.3 |
|---|
- Patch
- Available – fixed in 1.18.1_2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/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 29 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 hatch version 1.18.1_2 that fixes this vulnerability. Users should upgrade to this version or later to remediate the issue. No additional mitigation steps are required beyond applying the official fix.
Description
CVE-2026-112941 is a local integrity vulnerability in the SoftReadWriteLock implementation used by the hatch product. It allows a local user with write access to the lock's parent directory to replace the lock's directory tree with symbolic links after the first lock acquisition, causing the lock user process to write lock records into attacker-controlled locations. This results in the lock user's files being replaced or deleted, breaking functionality such as a git repository's operation. The vulnerability affects hatch versions >=1.18.1_1 and <1.18.1_2 on POSIX and Windows platforms. The CVSS score is 3.3 (low severity) due to local attack vector, low integrity impact, and no confidentiality or availability impact. A fix is available in version 1.18.1_2.
References
- github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37m (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-112941 (opens in a new tab)
- github.com/tox-dev/filelock/pull/842 (opens in a new tab)
- github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03 (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)