CVE-2026-112936: filelock · ReadWriteLock follows a symlink at the lock path into SQLite
Affects poetrySource GCVE Database
Not known to be exploited · CVSS 6.1 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:L/PR:L/UI:N/S:U/C:N/I:H/A:LExploitation 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 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
Upgrade poetry to version 2.5.1_1 or later, where this vulnerability is fixed. As a workaround, ensure that lock file paths are located in directories writable only by trusted users to prevent attackers from planting symlinks.
Description
The ReadWriteLock and AsyncReadWriteLock classes in poetry versions >=2.3.2_1 and <2.5.1_1 resolve lock file paths following symlinks and open them with sqlite3.connect() without preventing symlink traversal. This allows a local attacker with write access to the lock directory to cause the victim process to create or lock files at attacker-controlled locations, potentially breaking mutual exclusion and corrupting protected resources. The issue affects Linux, macOS, and Windows 11. A fix is available in version 2.5.1_1.
References
- github.com/tox-dev/filelock/security/advisories/GHSA-j8f7-rjxc-mr56 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-112936 (opens in a new tab)
- github.com/tox-dev/filelock/commit/4d45e83caf7e31f9a12fb44526bdc07f70114f04 (opens in a new tab)
- github.com/tox-dev/filelock (opens in a new tab)
- github.com/tox-dev/filelock/releases/tag/4.0.9 (opens in a new tab)