Skip to main content
CVE-2026-112940VulnerabilityPublished Updated

pdm · filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock

Affects pdmSource GCVE Database

0
Compare
Authoritative record:CVE-2026-112940· High 7.1

Not known to be exploited · CVSS 7.1 High : upgrade to 2.29.3 soon.

Data as of 2 Dec 2026, 21:50 UTC

CVSS 3.1 base score
7.1High
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.17.1
Patch
Available – fixed in 2.29.3, 4.2.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

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 2 Dec 2026.

What to do

Upgrade pdm to 2.29.3; filelock to 4.2.1.

Affected software

ProductAffectedFixed in
Homebrewpdmpkg:brew/pdmOther threatsAffected
  • >=2.26.7 <2.29.3
Fixed in
  • 2.29.3
PyPIfilelockpkg:pypi/filelockOther threatsAffected
  • 3.20.4 – 4.2.0
  • >=3.20.4 <4.2.1
53 affected builds
Fixed in
  • 4.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 2.29.3 and later. Users should upgrade to this fixed version to remediate the vulnerability. The vulnerability requires a writable directory without the sticky bit; using sticky bit directories (e.g., /tmp) or restricting directory permissions can reduce exposure but may not fully mitigate all attack vectors. Review and restrict directory permissions to prevent untrusted users from creating or renaming files in the lock database directory. No additional vendor advisory states that no action is required, so upgrading is recommended.

Description

CVE-2026-112940 is a high-severity vulnerability in the ReadWriteLock and AsyncReadWriteLock components of the filelock library, which use SQLite-backed locking. On Linux systems, SQLite reopens lock database files by name, following symlinks and acting on associated side files like rollback journals and write-ahead logs. A local attacker with write permissions in the directory containing the lock database can exploit this to cause the lock user to overwrite or unlink files with the lock user's privileges, or cause lock acquisition failures. This requires a writable directory without the sticky bit and affects filelock versions from 3.20.4 through 4.2.0, with fixes starting in 2.29.3. The vulnerability has a CVSS 3.1 score of 7.1 (High).

References

Community reviews

Loading reviews…