Skip to main content
CVE-2026-112909VulnerabilityPublished

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

Affects mlx-lmSource GCVE Database

0
Compare
Authoritative record:CVE-2026-112909· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium : upgrade to 0.32.2_1 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.1
EPSS
0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.32.2_1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 mlx-lm to 0.32.2_1.

Affected software

ProductAffectedFixed in
Homebrewmlx-lmpkg:brew/mlx-lmOther threatsAffected
  • >=0.28.1 <0.32.2_1
Fixed in
  • 0.32.2_1

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 0.32.2_1 that addresses this vulnerability. Users should upgrade to this version or later. The vulnerability depends on directory permissions and kernel settings; ensuring directories containing lock files have the sticky bit set and that the Linux kernel setting fs.protected_hardlinks is enabled (set to 1) can reduce risk. No other specific mitigations are indicated by the vendor advisory.

Description

UnixFileLock, used by FileLock and AsyncFileLock on Unix, truncates and can chmod any regular file that another local user renames or hard-links onto the lock path. This occurs because UnixFileLock empties the file it finds at the lock path when acquiring the lock and applies an explicit mode if provided. An attacker with local access who can rename or hard-link a file onto the lock path can cause the lock user’s file to be truncated and potentially made writable by the attacker, enabling unauthorized read and write access. This vulnerability affects all filelock releases up to and including 4.2.0. The issue requires specific conditions such as writable non-sticky directories or disabled kernel hardlink protections. The CVSS 3.1 score is 6.1 (Medium).

References

Community reviews

Loading reviews…