CVE-2026-112940CWE-363CWE-59

CVE-2026-112940

High · published October 20, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
1.5
In the wild
Unconfirmed
What it is

filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock let SQLite reopen the database and side files by name; on POSIX systems an attacker with rename access in a non-sticky parent can swap those names to cause overwrite or unlink operations, while a writable adjacent hot journal is additionally required for attacker-chosen content overwrites. This issue is fixed in version 4.2.1.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00116 · 1.5th percentile
Weaknesses
CWE-363 · Race Condition Enabling Link Following; CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-10-20T19:17Z
Affected products (1)
ProductVersionsFixed in
tox-dev/filelock≥ 3.20.4, < 4.2.14.2.1
References (5)
EPSS history
Timeline
  • 22 OCT 03:29Z
    EPSS moved — → 0%
    epss
  • 20 OCT 14:41Z
    filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files
    cvelistv5
  • 20 OCT 14:41Z
    filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files
    cvelistv5