shodan · filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout
Affects shodanSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium : upgrade to 1.31.0_12 when convenient.
Data as of 30 Oct 2026, 05:17 UTC
- Patch
- Available – fixed in 1.31.0_12
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation 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 shodan to 1.31.0_12.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewshodanpkg:brew/shodanOther 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.31.0_12 that addresses this issue. Users should upgrade to this fixed version or later. Additionally, ensure that lock directories are protected by using sticky bits or appropriate permissions to prevent untrusted users from creating or replacing the lock database file. On Linux, enabling kernel settings such as fs.protected_regular=2 can help prevent unauthorized file replacement in world-writable directories. On Windows, use lock directories that untrusted users cannot write to, as per the project's documentation.
Description
A vulnerability in the filelock library's ReadWriteLock and AsyncReadWriteLock components allows a local user with write access to the lock database file path to cause every acquire operation to stall or hang indefinitely, ignoring timeout and blocking settings. This is achieved by placing a crafted SQLite database file at the lock path, which causes the lock acquisition to consume excessive CPU or memory resources, resulting in denial of service. The issue affects filelock versions 3.20.4 through 4.2.0 and has no impact on confidentiality or integrity, only availability.
References
- github.com/tox-dev/filelock/security/advisories/GHSA-cwqr-hh33-gh44 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-112915 (opens in a new tab)
- github.com/tox-dev/filelock/pull/834 (opens in a new tab)
- github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d (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)