Time-of-check Time-of-use (TOCTOU) Affecting python-filelock package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.1% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-PYTHONFILELOCK-21281834
  • published21 Oct 2026
  • disclosed20 Oct 2026

Introduced: 20 Oct 2026

NewCVE-2026-112941  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 python-filelock.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-filelock package and not the python-filelock package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

filelock is a platform-independent file lock for Python. From 4.1.0 until 4.2.1, SoftReadWriteLock and AsyncSoftReadWriteLock cache a successful check of the <path>.rw lock tree and resolve its names again during later record operations, allowing another local user who can replace that tree after the first acquisition to redirect lock-record writes into directories writable by the lock user. This issue is fixed in version 4.2.1.

CVSS Base Scores

version 3.1