Skip to main content
CVE-2026-112940VulnerabilityPublished Updated

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

Affects dvcSource GCVE Database

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

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

Data as of 4 Dec 2026, 20:14 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 3.67.1_18, 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 4 Dec 2026.

What to do

Upgrade dvc to 3.67.1_18; filelock to 4.2.1.

Affected software

ProductAffectedFixed in
Homebrewdvcpkg:brew/dvcOther threatsAffected
  • >=3.67.0 <3.67.1_18
Fixed in
  • 3.67.1_18
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 fix is available in filelock version 3.67.1_18. Users should upgrade to this version or later to remediate the vulnerability. Additionally, ensure that directories containing the lock database are not writable by untrusted users and have the sticky bit set if shared (e.g., 1777 permissions). Kernel settings such as fs.protected_regular and fs.protected_hardlinks can also help mitigate the risk by restricting file access in sticky directories. No other action is required once patched.

Description

A vulnerability in the filelock ReadWriteLock and AsyncReadWriteLock components allows a local user with write permissions to the directory containing the SQLite lock database to manipulate lock files via symlinks or journal files. This can cause the lock user’s process to write arbitrary data into its own files, create or unlink files, or cause lock acquisition failures. The issue affects filelock versions 3.20.4 through 4.2.0, with the side-file variants present since 3.20.4 and the /proc/self/fd redirect since 4.0.9. The vulnerability requires a writable directory without the sticky bit and local user access. The CVSS 3.1 score is 7.1 (High). A fix is available in version 3.67.1_18.

References

Community reviews

Loading reviews…