poetry · filelock: StrictSoftFileLock follows a symbolic link swapped in at <path>.filelock and creates claim files in a
Affects poetrySource GCVE Database
Not known to be exploited · CVSS 5.8 Medium : upgrade to 2.5.1_1 when convenient.
Data as of 30 Oct 2026, 08:30 UTC
- Patch
- Available – fixed in 2.5.1_1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 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 poetry to 2.5.1_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpoetrypkg:brew/poetryOther 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 2.5.1_1 that fixes this vulnerability. Users should upgrade to this version or later to remediate the issue. No additional mitigation is required if the patch is applied. If patching is not immediately possible, restricting write permissions on shared directories to prevent unauthorized renaming of <path>.filelock can reduce risk.
Description
A vulnerability in filelock versions 3.30.0 through 4.2.0 allows a local user with write access to a shared directory to swap a symbolic link in place of a lock coordination directory during a narrow timing window. This causes the lock user's process to create claim files in a directory chosen by the attacker but writable only by the lock user. The effect can cause denial of service by making other locks time out until manually force-broken. The vulnerability requires local access and specific directory permissions, with medium severity impact.
References
- github.com/tox-dev/filelock/security/advisories/GHSA-m462-7rxw-wvpg (opens in a new tab)
- github.com/tox-dev/filelock/pull/839 (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)