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-DEBIANUNSTABLE-PYTHONFILELOCK-21281846
  • published21 Oct 2026
  • disclosed20 Oct 2026

Introduced: 20 Oct 2026

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

How to fix?

There is no fixed version for Debian:unstable 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:unstable relevant fixed versions and status.

filelock is a platform-independent file lock for Python. From 3.22.0 until 4.2.1, SoftFileLock can break a stale marker after an attacker frees its own marker following the stale read, an honest contender creates a live successor on the reused inode, and the successor's modification time is not newer than the saved observation, causing the live marker to be removed and two holders to be admitted. This issue is fixed in version 4.2.1.

CVSS Base Scores

version 3.1