Skip to content
Heist/ feed
High

filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files

Type: advisorySource: Official CVE List1 source record

filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock let SQLite reopen the database and side files by name; on POSIX systems an attacker with rename access in a non-sticky parent can swap those names to cause overwrite or unlink operations, while a writable adjacent hot journal is additionally required for attacker-chosen content overwrites. This issue is fixed in version 4.2.1.

Announced Source revision 1
Original source ↗

CVE-2026-112940

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-112940

filelock

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "tox-dev",
    "product": "filelock",
    "versions": [
      {
        "status": "affected",
        "version": ">= 3.20.4, < 4.2.1"
      }
    ]
  }
]
Related CVEs
CVE-2026-112940

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#52448 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement