Skip to content
Heist/ feed
Medium

filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path

Type: advisorySource: Official CVE List1 source record

filelock is a platform-independent file lock for Python. Prior to 4.2.1, UnixFileLock can truncate a regular file renamed onto the lock path when another local user has actual rename permission, or hard-linked there under a permissive hard-link policy; when an explicit mode is requested, affected versions from 3.10.2 can also change that file's mode. This issue is fixed in version 4.2.1.

Announced Group revision 1
Original source ↗

CVE-2026-112909

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-112909

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": "< 4.2.1"
      }
    ]
  }
]
Related CVEs
CVE-2026-112909

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

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