Time-of-check Time-of-use (TOCTOU) Affecting python-filelock package, versions <4.3.1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.2% (11th 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-23629200
  • published4 Dec 2026
  • disclosed3 Dec 2026

Introduced: 3 Dec 2026

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

How to fix?

Upgrade Debian:unstable python-filelock to version 4.3.1-1 or higher.

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 4.2.1 until 4.3.0, during stale-marker recovery, SoftFileLock can admit two holders when a foreign-owned recovery record can reach the public lock path and another account can create entries in a shared sticky lock directory. This requires a POSIX filesystem that supports atomic name exchange. An affected caller can enter a critical section while its peer still holds the lock. This issue is fixed in version 4.3.0.

CVSS Base Scores

version 3.1