SecurityContext

CVE-2026-112941: filelock - File Inclusion

  • Cve: CVE-2026-112941
  • Name: filelock - File Inclusion
  • Description: filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftReadWriteLock and AsyncSoftReadWriteLock cache a successful check of the <path>.rw lock tree and resolve its names again during later record operations, allowing another local user who can replace that tree after the first acquisition to redirect lock-record writes into directories writable by the lock user. This issue is fixed in version 4.2.1.
  • Impact: Local attackers can redirect lock-record writes to writable directories, potentially modifying files they should not access.
  • Remediation: Update to version 4.2.1 or later.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.3
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00131
  • Epss percentile: 0.02691
  • Assignee: [email protected]
  • Published at: 2026-10-20T15:17:16Z
  • Age in days: 35
  • Modified at: 2026-10-28T15:17:03Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-112941
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

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

Public exploits

UrlSourceAdded date
https://github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37mnvd2026-10-20

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03Patch
https://github.com/tox-dev/filelock/pull/842Patch
https://github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37mExploit, Mitigation, Patch, Vendor Advisory
https://github.com/tox-dev/filelock/releases/tag/4.2.1Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
tox-dev:filelock>= 4.1.0, < 4.2.1nonvd/v1/products/tox-dev/filelock

Projects

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

Index

  • Repositories: 150
  • Repositories high signal: 115
  • Packages: 1

Exploitation

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