CVE-2026-112940

Published Oct 20, 2026

Last updated 19 hours ago

Overview

Description
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.
Source
security-advisories@github.com
NVD status
Analyzed
Products
filelock

Risk scores

CVSS 3.1

Type
Secondary
Base score
7.1
Impact score
5.2
Exploitability score
1.8
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Severity
HIGH

Weaknesses

security-advisories@github.com
CWE-363
nvd@nist.gov
CWE-59

Social media

Hype score
Not currently trending

Configurations