Live threats

All CVEs / Tox-dev

CVE-2026-22701Tox-dev Filelock

Medium 5.3

Priority
32
CVSS 3.1
5.3
EPSS
—
Auth required
Yes
Published
Jan 10, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59, CWE-362, CWE-367
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H

What happens

filelock is a platform-independent file lock for Python. Prior to version 3.20.3, a TOCTOU race condition vulnerability exists in the SoftFileLock implementation of the filelock package. An attacker with local filesystem access and permission to create symlinks can exploit a race condition between the permission validation and file creation to cause lock operations to fail or behave unexpectedly. The vulnerability occurs in the _acquire() method between raise_on_not_writable_file() (permission check) and os.open() (file creation). During this race window, an attacker can create a symlink at the lock file path, potentially causing the lock to operate on an unintended target file or leading to denial of service. This issue has been patched in version 3.20.3.

Original NVD text.

What to do

  1. Apply the vendor's security update for Filelock.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI filelock < 3.20.3 3.20.3 pip install "filelock>=3.20.3"
PyPI filelock < 3.20.3 3.20.3 pip install "filelock>=3.20.3"

Per OSV / GitHub Advisories (GHSA-qmgc-5h2g-mvrw, PYSEC-2026-1374). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
tox-devfilelock< 3.20.3

Official advisories

Also: SUSE (+2)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.