CVE-2026-112940
highfilelock is a platform-independent file lock for Python.
Vendor / product: Tox-dev — filelock
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.
CVSS
7.1
7.1 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H Severity source: NVD CVSS v3.1 (security-advisories@github.com)
Timeline (UTC)
Published: 2026-10-20 15:17
Modified: 2026-10-22 22:18
NVD status: Modified
Last synced 2 days ago
Verified against the source API 2026-10-27 07:04 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
tox-dev / filelock ≥3.20.4 <4.2.1
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Patch / mitigation: https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d
Patch / mitigation: https://github.com/tox-dev/filelock/pull/834
Patch / mitigation: https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8
Patch / mitigation: https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8
References
- https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d security-advisories@github.com
- https://github.com/tox-dev/filelock/pull/834 security-advisories@github.com
- https://github.com/tox-dev/filelock/releases/tag/4.2.1 security-advisories@github.com
- https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8 security-advisories@github.com
- https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8 134c704f-9b21-4f2e-91b3-4a467353bcc0
Data sources
NVD CVE API 2.0 — fetched 2026-10-27 07:04 UTC · record ↗
