Skip to main content
CVE-2026-112909VulnerabilityPublished

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

Affects lexiconSource GCVE Database

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

Not known to be exploited · CVSS 6.1 Medium : upgrade to 3.25.2_5 when convenient.

Data as of 30 Oct 2026, 07:32 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
Patch
Available – fixed in 3.25.2_5
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 lexicon to 3.25.2_5.

Affected software

ProductAffectedFixed in
Homebrewlexiconpkg:brew/lexiconOther threatsAffected
  • >=3.11.2 <3.25.2_5
Fixed in
  • 3.25.2_5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in filelock version 3.25.2_5. Users should upgrade to this version or later to remediate the vulnerability. The vulnerability depends on directory permissions and kernel settings; ensuring directories containing lock files have the sticky bit set and that fs.protected_hardlinks is enabled (set to 1) can reduce risk. No additional action is required once patched.

Description

UnixFileLock, used by FileLock and AsyncFileLock on Unix systems, truncates and changes permissions of any regular file that another local user renames or hard-links onto the lock path. This can lead to unintended file truncation and permission changes, allowing the other user to read and modify the file contents thereafter. The vulnerability affects all filelock releases up to and including 4.2.0, with the chmod behavior introduced since version 3.10.2. Exploitation requires local access and the ability to rename or hard-link files in certain directory conditions. The issue is patched in version 3.25.2_5.

References

Community reviews

Loading reviews…