SecurityContext

CVE-2026-112913: filelock - Denial of Service & Arbitrary File Deletion

  • Cve: CVE-2026-112913
  • Name: filelock - Denial of Service & Arbitrary File Deletion
  • Description: filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock and AsyncReadWriteLock on Windows use _connect to attach SQLite to the lock database by pathname, allowing another local account that can create adjacent names to place a database-wal or database-journal side file before acquisition. An undeletable WAL file makes each read or write acquisition fail immediately with sqlite3.OperationalError regardless of timeout. Separately, when the database contains at least one table, a hot journal that grants the lock account modify rights can cause SQLite recovery to delete a file named by that journal only when the lock account has permission to delete the target. The issue requires a directory writable by another account, such as a shared Windows temporary directory, and does not affect private directories. This issue is fixed in version 4.2.1.
  • Impact: Local attackers can cause lock acquisition to fail immediately or trigger deletion of arbitrary files the lock account can delete.
  • Remediation: Upgrade to version 4.2.1 or later.
  • Vulnerability type: race_condition
  • Vulnerability impact: denial_of_service, file_system_write
  • Requirements: Attacker needs write access to a directory adjacent to the lock database, such as a shared Windows temp directory.
  • Labels source: securitycontext
  • Severity: low
  • Cvss score: 3.3
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
  • Epss score: 0.00168
  • Epss percentile: 0.05994
  • Assignee: [email protected]
  • Published at: 2026-11-05T22:17:47Z
  • Age in days: 19
  • Modified at: 2026-11-06T21:40:43Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-112913
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-367Time-of-check Time-of-use (TOCTOU) Race Condition

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/tox-dev/filelock/commit/1f582d02c7e5cb4aa7e41ddae211d32d31778f3b
https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d
https://github.com/tox-dev/filelock/pull/834
https://github.com/tox-dev/filelock/pull/854
https://github.com/tox-dev/filelock/security/advisories/GHSA-9vhv-jxww-xfm5

Products

ProductAffectedPlatform boundSourcesUrl
tox-dev:filelock>= 3.20.4, < 4.2.1nocna_alias_text/v1/products/tox-dev/filelock

Projects

RepositoryLink kindsIndexedUrl
tox-dev/filelockcommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/tox-dev/filelock

Index

  • Repositories: 643
  • Repositories high signal: 496
  • Packages: 1

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts