Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-22701

published medium CVSS 3.1 · 5.3

filelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock

Published
10 Jan 2026, 05:59:28 UTC
Updated
12 Jan 2026, 16:45:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
tox-dev — filelock< 3.20.3 Affected Not stated GitHub_M
Amazon Linux AL2023 Release evaluationALAS2023-2026-1411 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1415 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-15-SP7 python3-filelocknoarch Advisory build 3.0.12-150100.3.9.1 SUSE-SU-2026:0335-1
Ubuntu bionic python-filelock Advisory build 3.0.4-1ubuntu0.1~esm1 USN-7999-1
Amazon Linux AL2023 python-filelocknoarch Listed in advisory Not stated ALAS2023-2026-1415
SUSE / openSUSE SLE-15-SP7 python311-filelocknoarch Advisory build 3.12.2-150400.10.8.1 SUSE-SU-2026:0220-1
SUSE / openSUSE SLE-16 python313-filelocknoarch Advisory build 3.18.0-160000.3.1 SUSE-SU-2026:20216-1
Show 25 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-3-SP7 python311-filelocknoarch Advisory build 3.12.2-150400.10.8.1 SUSE-SU-2026:0220-1
SUSE / openSUSE openSUSE-Leap-15.6 python311-filelocknoarch Advisory build 3.12.2-150400.10.8.1 SUSE-SU-2026:0220-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-filelocknoarch Advisory build 3.18.0-160000.3.1 OPENSUSE-SU-2026:20144-1
SUSE / openSUSE openSUSE-Tumbleweed python311-filelockaarch64 Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python311-filelockppc64le Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python311-filelocks390x Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python311-filelockx86_64 Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python312-filelockaarch64 Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python312-filelockppc64le Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python312-filelocks390x Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python312-filelockx86_64 Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python313-filelockaarch64 Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python313-filelockppc64le Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python313-filelocks390x Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
SUSE / openSUSE openSUSE-Tumbleweed python313-filelockx86_64 Advisory build 3.20.3-1.1 OPENSUSE-SU-2026:10043-1
Ubuntu bionic python3-filelock Advisory build 3.0.4-1ubuntu0.1~esm1 USN-7999-1
Ubuntu focal python-filelock Advisory build 3.0.12-2ubuntu0.1~esm1 USN-7999-1
Ubuntu focal python3-filelock Advisory build 3.0.12-2ubuntu0.1~esm1 USN-7999-1
Ubuntu jammy python-filelock Advisory build 3.6.0-1ubuntu0.1~esm1 USN-7999-1
Ubuntu jammy python3-filelock Advisory build 3.6.0-1ubuntu0.1~esm1 USN-7999-1
Ubuntu noble python-filelock Advisory build 3.13.1-1ubuntu0.1~esm1 USN-7999-1
Ubuntu noble python3-filelock Advisory build 3.13.1-1ubuntu0.1~esm1 USN-7999-1
Amazon Linux AL2023 python-filelocksrc Listed in advisory Not stated ALAS2023-2026-1415
Amazon Linux AL2023 python3.13-filelocknoarch Listed in advisory Not stated ALAS2023-2026-1411
Amazon Linux AL2023 python3.13-filelocksrc Listed in advisory Not stated ALAS2023-2026-1411

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
tox-dev filelock < 3.20.3 (affected) GitHub_M · cna

Weaknesses

3
  • CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following') (GitHub_M · cna)
  • CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (GitHub_M · cna)
  • CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

filelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
a14c76af54a20091b4a42e0d9af41bbe74d9ea40e1dda983ed72972a820ce309
Ingested
23 Sep 2026, 09:05:30 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected