p PatchFirst

CVE-2026-22701

CVE-2026-22701 · filelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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.

CVSS 5.3 · Mittel · EPSS 0,1% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: system · python

Betroffene Produkte und Versionen

  • filelock

    Softwareversionen
    • < 3.20.3: Betroffen

    Keine Korrektur veröffentlicht

  • python-filelock Debian:12

    Softwareversionen
    • 3.9.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 3.9.0-1+deb12u1

    Auf 3.9.0-1+deb12u1 aktualisieren

  • python-filelock Debian:13

    Softwareversionen
    • 3.18.0-1
    • 3.18.0-1+deb13u1
    • 3.19.1-1
    • 3.20.0-1
    • 3.20.2-1
    • 3.20.3-1
    • 3.24.3-1
    • 3.25.0-1
    • 3.25.2-1
    • 3.29.0-1
    • 3.29.4-1
    • 3.29.5-1
    • 3.29.7-1
    • 3.32.0-1
    • 3.32.2-1
    • 3.32.4-1
    • 3.32.4-2
    • 3.32.5-1
    • 3.32.6-1
    • 4.0.1-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-filelock Debian:14

    Softwareversionen
    • 3.18.0-1
    • 3.19.1-1
    • 3.20.0-1
    • 3.20.2-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 3.20.3-1

    Auf 3.20.3-1 aktualisieren

  • filelock PyPI

    Softwareversionen
    • 0.2.0
    • 0.2.1
    • 0.2.2
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 2.0.0
    • 2.0.1
    • 2.0.10
    • 2.0.11
    • 2.0.12
    • 2.0.13
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.7
    • 2.0.8
    • 2.0.9
    • 3.0.0
    • 3.0.10
    • 3.0.12
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.0.6
    • 3.0.8
    • 3.0.9
    • 3.1.0
    • 3.10.0
    • 3.10.1
    • 3.10.2
    • 3.10.3
    • 3.10.4
    • 3.10.5
    • 3.10.6
    • 3.10.7
    • 3.11.0
    • 3.12.0
    • 3.12.1
    • 3.12.2
    • 3.12.3
    • 3.12.4
    • 3.13.0
    • 3.13.1
    • 3.13.2
    • 3.13.3
    • 3.13.4
    • 3.14.0
    • 3.15.0
    • 3.15.1
    • 3.15.2
    • 3.15.3
    • 3.15.4
    • 3.16.0
    • 3.16.1
    • 3.17.0
    • 3.18.0
    • 3.19.1
    • 3.2.0
    • 3.2.1
    • 3.20.0
    • 3.20.1
    • 3.20.2
    • 3.3.0
    • 3.3.1
    • 3.3.2
    • 3.4.0
    • 3.4.1
    • 3.4.2
    • 3.5.0
    • 3.5.1
    • 3.6.0
    • 3.7.0
    • 3.7.1
    • 3.8.0
    • 3.8.1
    • 3.8.2
    • 3.9.0
    • 3.9.1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 3.20.3

    Auf 3.20.3 aktualisieren

  • python-filelock Ubuntu:Pro:18.04:LTS

    Softwareversionen
    • 2.0.11-1
    • 2.0.12-1
    • 2.0.13-1
    • 3.0.0-2
    • 3.0.3-1
    • 3.0.4-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 3.0.4-1ubuntu0.1~esm1

    Auf 3.0.4-1ubuntu0.1~esm1 aktualisieren

  • python-filelock Ubuntu:Pro:22.04:LTS

    Softwareversionen
    • 3.0.12-2
    • 3.3.2-1
    • 3.4.0-1
    • 3.4.2-1
    • 3.4.2-2
    • 3.6.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 3.6.0-1ubuntu0.1~esm1

    Auf 3.6.0-1ubuntu0.1~esm1 aktualisieren

  • python-filelock Ubuntu:Pro:24.04:LTS

    Softwareversionen
    • 3.12.2-1
    • 3.12.4-1
    • 3.13.1-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 3.13.1-1ubuntu0.1~esm1

    Auf 3.13.1-1ubuntu0.1~esm1 aktualisieren

  • python-filelock Ubuntu:25.10

    Softwareversionen
    • 3.18.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-filelock Ubuntu:26.10

    Softwareversionen
    • 3.20.3-1
    • 3.29.4-1
    • 3.32.0-1
    • 3.32.2-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • python-filelock Ubuntu:26.04:LTS

    Softwareversionen
    • 3.18.0-1
    • 3.20.0-1
    • 3.20.2-1
    • 3.20.3-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

Originalquellen

Prüfen Sie Ihren Server →