virtualenvwrapper · filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path
Affects virtualenvwrapperSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 6.1.1_4 or 4.8.4_2 when convenient.
Data as of 30 Oct 2026, 06:59 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.1 |
|---|
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.1.1_4, 4.8.4_2
CVSS:3.1/AV:L/AC:L/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 29 Oct 2026.
What to do
Upgrade virtualenvwrapper to 6.1.1_4 or 4.8.4_2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewvirtualenvwrapperpkg:brew/virtualenvwrapperOther 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 and should be applied. Fixed versions include 4.8.4_2 and 6.1.1_4. Users should upgrade to these or later versions to remediate the vulnerability. The vulnerability depends on directory permissions and kernel settings; ensuring directories containing lock files have the sticky bit set and that fs.protected_hardlinks is enabled (set to 1) can reduce risk. However, upgrading to a fixed version is the recommended mitigation.
Description
UnixFileLock, used by FileLock and AsyncFileLock on Unix, truncates and can change permissions of any regular file that another local user renames or hard-links onto the lock path. This occurs when the lock user acquires the lock and the file at the lock path is unexpectedly replaced by a file controlled by another user. The vulnerability requires the attacker to have local access and the ability to rename or hard-link files in certain directory conditions. The flaw affects all filelock versions up to and including 4.2.0, with fixes available in later versions.
References
- github.com/tox-dev/filelock/security/advisories/GHSA-69hj-f68j-2879 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-112909 (opens in a new tab)
- github.com/tox-dev/filelock/pull/835 (opens in a new tab)
- github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a (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)