- Veröffentlicht
- 16.12.2025
- Zuletzt geändert
- 16.11.2026
- EPSS (30 Tage)
- 0.2 %
- CVSS-Vektor
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
Beschreibung
Originaltext der Quelle, nicht übersetzt.
filelock is a platform-independent file lock for Python. In versions prior to 3.20.1, a Time-of-Check-Time-of-Use (TOCTOU) race condition allows local attackers to corrupt or truncate arbitrary user files through symlink attacks. The vulnerability exists in both Unix and Windows lock file creation where filelock checks if a file exists before opening it with O_TRUNC. An attacker can create a symlink pointing to a victim file in the time gap between the check and open, causing os.open() to follow the symlink and truncate the target file. All users of filelock on Unix, Linux, macOS, and Windows systems are impacted. The vulnerability cascades to dependent libraries. The attack requires local filesystem access and ability to create symlinks (standard user permissions on Unix; Developer Mode on Windows 10+). Exploitation succeeds within 1-3 attempts when lock file paths are predictable. The issue is fixed in version 3.20.1. If immediate upgrade is not possible, use SoftFileLock instead of UnixFileLock/WindowsFileLock (note: different locking semantics, may not be suitable for all use cases); ensure lock file directories have restrictive permissions (chmod 0700) to prevent untrusted users from creating symlinks; and/or monitor lock file directories for suspicious symlinks before running trusted applications. These workarounds provide only partial mitigation. The race condition remains exploitable. Upgrading to version 3.20.1 is strongly recommended.
Status beim Hersteller
SUSE stuft seine Produktlinien ein: 32 betroffen, 15 behoben.
Migration Toolkit for Containers
BetroffenFix zurückgestellt
rhmtc/openshift-migration-hook-runner-rhel8
OpenShift Lightspeed
BetroffenFix zurückgestellt
openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9, openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9
OpenShift Service Mesh 2
BetroffenFix zurückgestellt
openshift-service-mesh/grafana-rhel8, openshift-service-mesh/istio-cni-rhel8, openshift-service-mesh/istio-must-gather-rhel9, openshift-service-mesh/istio-operator-bundle, openshift-service-mesh/istio-rhel8-operator, openshift-service-mesh/pilot-rhel8, openshift-service-mesh/proxyv2-rhel9, openshift-service-mesh/ratelimit-rhel8
OpenShift Service Mesh 3
BetroffenFix zurückgestellt
openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9, openshift-service-mesh-tech-preview/istio-ztunnel-rhel9, openshift-service-mesh/istio-cni-rhel9, openshift-service-mesh/istio-must-gather-rhel9, openshift-service-mesh/istio-pilot-rhel9, openshift-service-mesh/istio-proxyv2-rhel9, openshift-service-mesh/istio-rhel9-operator, openshift-service-mesh/istio-sail-operator-bundle, openshift-service-mesh/istio-ztunnel-rhel9
Red Hat AI Inference Server
BetroffenFix zurückgestellt
rhaiis-preview/vllm-cuda-rhel9, rhaiis/model-opt-cuda-rhel9, rhaiis/vllm-cuda-rhel9, rhaiis/vllm-rocm-rhel9, rhaiis/vllm-spyre-rhel9, rhaiis/vllm-tpu-rhel9
Red Hat Ansible Automation Platform 2
BetroffenFix zurückgestellt
ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-24/de-supported-rhel8, ansible-automation-platform-24/de-supported-rhel9, ansible-automation-platform-24/ee-dellemc-openmanage-rhel8, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, ansible-automation-platform-24/ee-supported-rhel8, ansible-automation-platform-24/ee-supported-rhel9, ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-24/platform-resource-runner-rhel8, ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8, ansible-automation-platform-25/ansible-dev-tools-rhel8, ansible-automation-platform-25/de-minimal-rhel8, ansible-automation-platform-25/de-minimal-rhel9, ansible-automation-platform-25/de-supported-rhel8, ansible-automation-platform-25/de-supported-rhel9, ansible-automation-platform-25/ee-cloud-services-rhel9, ansible-automation-platform-25/ee-minimal-rhel8, ansible-automation-platform-25/ee-minimal-rhel9, ansible-automation-platform-25/ee-supported-rhel8, ansible-automation-platform-25/ee-supported-rhel9, ansible-automation-platform-25/lightspeed-chatbot-rhel8, ansible-automation-platform-25/lightspeed-rhel8, ansible-automation-platform-25/platform-resource-runner-rhel8 und 17 weitere
Red Hat Ansible Automation Platform Ansible Core 2
BetroffenFix zurückgestellt
ansible-automation-platform-tech-preview/ee-minimal-rhel8, ansible-automation-platform-tech-preview/ee-minimal-rhel9, ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9
Red Hat Enterprise Linux AI (RHEL AI)
BetroffenFix zurückgestellt
rhelai1/bootc-amd-rhel9, rhelai1/bootc-aws-nvidia-rhel9, rhelai1/bootc-azure-amd-rhel9, rhelai1/bootc-azure-nvidia-rhel9, rhelai1/bootc-gcp-nvidia-rhel9, rhelai1/bootc-intel-rhel9, rhelai1/bootc-nvidia-rhel9, rhelai1/instructlab-amd-rhel9, rhelai1/instructlab-intel-rhel9, rhelai1/instructlab-nvidia-rhel9
Red Hat Enterprise Linux AI (RHEL AI) 3
BetroffenFix zurückgestellt
rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, rhelai3/bootc-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/disk-image-cuda-rhel9
Red Hat OpenShift AI (RHOAI)
BetroffenFix zurückgestellt
rhoai/odh-caikit-nlp-rhel9, rhoai/odh-caikit-tgis-serving-rhel9, rhoai/odh-data-science-pipelines-operator-controller-rhel8, rhoai/odh-data-science-pipelines-operator-controller-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-guardrails-detector-huggingface-runtime-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-ml-pipelines-runtime-generic-rhel9, rhoai/odh-model-registry-job-async-upload-rhel9, rhoai/odh-model-registry-rhel8, rhoai/odh-model-registry-rhel9, rhoai/odh-openvino-model-server-rhel9, rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9, rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9, rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9, rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9, rhoai/odh-ta-lmes-job-rhel9, rhoai/odh-training-cuda121-torch24-py311-rhel9 und 21 weitere
Red Hat OpenShift Dev Spaces
BetroffenFix zurückgestellt
devspaces/dashboard-rhel9, devspaces/devspaces-operator-bundle, devspaces/udi-base-rhel10, devspaces/udi-base-rhel9, devspaces/udi-rhel9
Red Hat OpenStack Platform 18.0
BetroffenFix zurückgestellt
rhoso-operators/ee-openstack-ansible-ee-rhel9
Red Hat Satellite 6
BetroffenFix zurückgestellt
satellite/iop-advisor-backend-rhel9, satellite/iop-advisor-engine-rhel9, satellite/iop-host-inventory-rhel9, satellite/iop-insights-engine-rhel9, satellite/iop-puptoo-rhel9, satellite/iop-vulnerability-engine-rhel9, satellite/iop-yuptoo-rhel9
Red Hat Trusted Artifact Signer
BetroffenFix zurückgestellt
rhtas/model-transparency-rhel9
SUSE Linux Enterprise Desktop 15 SP6
Betroffen
python-filelock, python3-filelock, python311-filelock
SUSE Linux Enterprise High Performance Computing 15 SP4
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise High Performance Computing 15 SP5
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise Module for Development Tools 15 SP6
Betroffen
python-filelock, python3-filelock
SUSE Linux Enterprise Module for Package Hub 15 SP6
Betroffen
python-filelock, python3-filelock
SUSE Linux Enterprise Module for Python 3 15 SP6
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise Server 15 SP4
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise Server 15 SP4-LTSS
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise Server 15 SP5
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise Server 15 SP5-LTSS
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise Server 15 SP6
Betroffen
python-filelock, python3-filelock, python311-filelock
SUSE Linux Enterprise Server 15 SP6-LTSS
Betroffen
python-filelock, python3-filelock, python311-filelock
SUSE Linux Enterprise Server for SAP Applications 15 SP4
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise Server for SAP Applications 15 SP5
Betroffen
python-filelock, python311-filelock
SUSE Linux Enterprise Server for SAP Applications 15 SP6
Betroffen
python-filelock, python3-filelock, python311-filelock
Open Enterprise Server 25.4
Behoben
python-filelock-3.0.12-150100.3.6.1
SUSE Linux Enterprise Desktop 15 SP7
Behoben
python3-filelock-3.0.12-150100.3.6.1, python311-filelock-3.12.2-150400.10.8.1
SUSE Linux Enterprise Desktop 15 SP7
Behoben
python-filelock-3.0.12-150100.3.6.1
SUSE Linux Enterprise Module for Development Tools 15 SP7
Behoben
python3-filelock-3.0.12-150100.3.6.1
SUSE Linux Enterprise Module for Development Tools 15 SP7
Behoben
python-filelock-3.0.12-150100.3.6.1
SUSE Linux Enterprise Module for Package Hub 15 SP7
Behoben
python3-filelock-3.0.12-150100.3.6.1
SUSE Linux Enterprise Module for Package Hub 15 SP7
Behoben
python-filelock-3.0.12-150100.3.6.1
SUSE Linux Enterprise Module for Python 3 15 SP7
Behoben
python311-filelock-3.12.2-150400.10.8.1
SUSE Linux Enterprise Server 15 SP4-TERADATA
Behoben
python311-filelock-3.12.2-150400.10.8.1
SUSE Linux Enterprise Server 15 SP7
Behoben
python3-filelock-3.0.12-150100.3.6.1, python311-filelock-3.12.2-150400.10.8.1
SUSE Linux Enterprise Server 15 SP7
Behoben
python-filelock-3.0.12-150100.3.6.1
SUSE Linux Enterprise Server 16.0
Behoben
python313-filelock-3.18.0-160000.3.1
SUSE Linux Enterprise Server 16.1
Behoben
python313-filelock-3.18.0-160100.2.1
SUSE Linux Enterprise Server for SAP Applications 15 SP7
Behoben
python3-filelock-3.0.12-150100.3.6.1, python311-filelock-3.12.2-150400.10.8.1
SUSE Linux Enterprise Server for SAP Applications 15 SP7
Behoben
python-filelock-3.0.12-150100.3.6.1
SUSE Linux Enterprise Server for SAP applications 16.0
Behoben
python313-filelock-3.18.0-160000.3.1
SUSE Linux Enterprise Server for SAP applications 16.1
Behoben
python313-filelock-3.18.0-160100.2.1
openSUSE Leap 15.6
Behoben
python311-filelock-3.12.2-150400.10.8.1
openSUSE Leap 16.0
Behoben
python313-filelock-3.18.0-160000.3.1
openSUSE Tumbleweed
Behoben
ansible-lint-26.11.0-2.1, python311-filelock-3.20.2-1.1, python311-virtualenv-20.36.1-1.1, python312-filelock-3.20.2-1.1, python312-virtualenv-20.36.1-1.1, python313-filelock-3.20.2-1.1, python313-virtualenv-20.36.1-1.1
openSUSE Tumbleweed
Behoben
python-filelock-3.20.2-1.1
Betroffene Pakete im beobachteten Stack
Red Hat:ansible_automation_platform:2automation-controllerkein Fix bekanntCVE-2025-68146
Weitere betroffene Pakete (34)
Azure Linux:2python-filelockkein Fix bekanntAZL-79232
Azure Linux:3python-filelock3.20.1-1AZL-72739
CVEtox-dev/filelockkein Fix bekanntCVE-2025-68146
Debian:12python-filelock3.9.0-1+deb12u1DEBIAN-CVE-2025-68146
Debian:13python-filelock3.18.0-1+deb13u1DEBIAN-CVE-2025-68146
Debian:14python-filelock3.20.2-1DEBIAN-CVE-2025-68146
Docker Hardened Images:Alpine:3.23py3-filelockkein Fix bekanntDHI-j6ge-ic6i-d64o-guio
Docker Hardened Images:Alpine:3.23py3.10-filelockkein Fix bekanntDHI-j6ge-ic6i-d64o-guio
Docker Hardened Images:Alpine:3.23py3.11-filelockkein Fix bekanntDHI-j6ge-ic6i-d64o-guio
Docker Hardened Images:Alpine:3.23py3.12-filelockkein Fix bekanntDHI-j6ge-ic6i-d64o-guio
Docker Hardened Images:Alpine:3.23py3.13-filelockkein Fix bekanntDHI-j6ge-ic6i-d64o-guio
Docker Hardened Images:Alpine:3.23py3.14-filelockkein Fix bekanntDHI-j6ge-ic6i-d64o-guio
NVDtox-dev:filelock3.20.1CVE-2025-68146
PyPIfilelock3.20.1GHSA-w853-jp5j-5j7f
PyPIfilelock3.20.1PYSEC-2026-1375
SUSE:Linux Enterprise Module for Development Tools 15 SP7python-filelock3.0.12-150100.3.6.1SUSE-SU-2026:0082-1
SUSE:Linux Enterprise Module for Package Hub 15 SP7python-filelock3.0.12-150100.3.6.1SUSE-SU-2026:0082-1
SUSE:Linux Enterprise Module for Python 3 15 SP7python-filelock3.12.2-150400.10.8.1SUSE-SU-2026:0220-1
SUSE:Linux Enterprise Server 16.0python-filelock3.18.0-160000.3.1SUSE-SU-2026:20216-1
SUSE:Linux Enterprise Server for SAP applications 16.0python-filelock3.18.0-160000.3.1SUSE-SU-2026:20216-1
Ubuntu:25.10python-filelockkein Fix bekanntUBUNTU-CVE-2025-68146
Ubuntu:26.10python-filelockkein Fix bekanntUBUNTU-CVE-2025-68146
Ubuntu:Pro:18.04:LTSpython-filelock3.0.4-1ubuntu0.1~esm1UBUNTU-CVE-2025-68146
Ubuntu:Pro:18.04:LTSpython-filelock3.0.4-1ubuntu0.1~esm1USN-7999-1
Ubuntu:Pro:20.04:LTSpython-filelock3.0.12-2ubuntu0.1~esm1USN-7999-1
Ubuntu:Pro:22.04:LTSpython-filelock3.6.0-1ubuntu0.1~esm1UBUNTU-CVE-2025-68146
Ubuntu:Pro:22.04:LTSpython-filelock3.6.0-1ubuntu0.1~esm1USN-7999-1
Ubuntu:Pro:24.04:LTSpython-filelock3.13.1-1ubuntu0.1~esm1UBUNTU-CVE-2025-68146
Ubuntu:Pro:24.04:LTSpython-filelock3.13.1-1ubuntu0.1~esm1USN-7999-1
openSUSE:Leap 15.6python-filelock3.12.2-150400.10.8.1SUSE-SU-2026:0220-1
openSUSE:Leap 16.0python-filelock3.18.0-160000.3.1openSUSE-SU-2026:20144-1
openSUSE:Tumbleweedansible-lint26.11.0-2.1openSUSE-SU-2026:12481-1
openSUSE:Tumbleweedpython-filelock3.20.2-1.1openSUSE-SU-2026:10010-1
openSUSE:Tumbleweedpython-virtualenv20.36.1-1.1openSUSE-SU-2026:10055-1
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Lokal) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- github.com/tox-dev/filelock/security/advisories/GHSA-w853-jp5j-5j7f
- github.com/tox-dev/filelock/pull/461
- github.com/tox-dev/filelock/commit/4724d7f8c3393ec1f048c93933e6e3e6ec321f0e
- github.com/tox-dev/filelock/releases/tag/3.20.1
- www.suse.com/security/cve/CVE-2025-68146
- www.suse.com/support/security/rating/
- bugzilla.suse.com/1255244
- lists.suse.com/pipermail/sle-security-updates/2026-January/023719.html
- lists.suse.com/pipermail/sle-security-updates/2026-January/023865.html
- lists.suse.com/pipermail/sle-security-updates/2026-February/024068.html
- ftp.suse.com/pub/projects/security/csaf/2026/suse-su-2026_0082-1.json
- www.suse.com/support/update/announcement/2026/suse-su-20260082-1/
- www.suse.com/security/cve/CVE-2025-68146/
- ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_10010-1.json
- ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_12481-1.json
- nvd.nist.gov/vuln/detail/CVE-2025-68146
- security-tracker.debian.org/tracker/CVE-2025-68146
- scout.docker.com/v/DHI-j6ge-ic6i-d64o-guio
- security.alpinelinux.org/vuln/CVE-2025-68146
- alas.aws.amazon.com/AL2023/ALAS-2026-1411.html
- cve.mitre.org/cgi-bin/cvename.cgi
- cve.mitre.org/cgi-bin/cvename.cgi
- alas.aws.amazon.com/AL2023/ALAS-2026-1415.html
- github.com/advisories/GHSA-w853-jp5j-5j7f
- access.redhat.com/security/cve/CVE-2025-68146
- www.cve.org/CVERecord
- ubuntu.com/security/CVE-2025-68146
- people.ubuntu.com/~ubuntu-security/cve/CVE-2025-68146
- github.com/tox-dev/filelock
- learn.microsoft.com/en-us/windows/win32/fileio/file-attribute-constants
- pubs.opengroup.org/onlinepubs/9699919799/functions/open.html
- pypi.org/project/filelock
- ubuntu.com/security/notices/USN-7999-1
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68146.json
- bugzilla.redhat.com/show_bug.cgi