CVE Vulnerabilities

CVE-2026-112940

Race Condition Enabling Link Following

Published: Oct 20, 2026 | Modified: Oct 22, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.3 MODERATE
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
Ubuntu
MEDIUM

filelock is a platform-independent file lock for Python. From 3.20.4 until 4.2.1, ReadWriteLock let SQLite reopen the database and side files by name; on POSIX systems an attacker with rename access in a non-sticky parent can swap those names to cause overwrite or unlink operations, while a writable adjacent hot journal is additionally required for attacker-chosen content overwrites. This issue is fixed in version 4.2.1.

Weakness

The product checks the status of a file or directory before accessing it, which produces a race condition in which the file can be replaced with a link before the access is performed, causing the product to access the wrong file.

Affected Software

NameVendorStart VersionEnd Version
FilelockTox-dev3.20.4 (including)4.2.1 (excluding)
Red Hat AI Inference Server 3.4RedHatrhaii/vllm-cuda-rhel9:1794398074*
Red Hat AI Inference Server 3.4RedHatrhaii/vllm-cpu-rhel9:1794398071*
Red Hat AI Inference Server 3.4RedHatrhaii/vllm-spyre-rhel9:1794418334*
Red Hat AI Inference Server 3.4RedHatrhaii/vllm-rocm-rhel9:1794398147*
Red Hat AI Inference Server 3.4RedHatrhaii/model-opt-cuda-rhel9:1794398157*
Red Hat AI Inference Server 3.5RedHatrhaii/vllm-cpu-rhel9:1793444554*
Red Hat AI Inference Server 3.5RedHatrhaii/vllm-rocm-rhel9:1793444456*
Red Hat AI Inference Server 3.5RedHatrhaii/model-opt-cuda-rhel9:1793444339*
Red Hat AI Inference Server 3.5RedHatrhaii/vllm-spyre-rhel9:1793444409*
Red Hat AI Inference Server 3.5RedHatrhaii/vllm-gaudi-rhel9:1793444510*
Red Hat AI Inference Server 3.5RedHatrhaii/vllm-cuda-rhel9:1793444600*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/disk-image-cuda-rhel9:1793995863*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-aws-cuda-rhel9:1793973314*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-azure-cuda-rhel9:1793973314*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-azure-rocm-rhel9:1793973314*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-cuda-rhel9:1793914518*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-gcp-cuda-rhel9:1793973312*
Red Hat Enterprise Linux AI 3.5RedHatrhelai3/bootc-rocm-rhel9:1793914504*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-ta-lmes-job-rhel9:1793001715*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-th06-cpu-torch210-py312-rhel9:1793084640*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-th06-cuda130-torch210-py312-rhel9:1792748650*
Red Hat OpenShift AI 3.4RedHatrhoai/odh-th06-rocm64-torch291-py312-rhel9:1792745990*
Red Hat OpenShift AI 3.5RedHatrhai/guidellm-rhel9:1793719302*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-built-in-detector-rhel9:1793402315*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-guardrails-detector-huggingface-runtime-rhel9:1793403223*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-kserve-storage-initializer-rhel9:1793691340*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-model-registry-job-async-upload-rhel9:1793799006*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1793729054*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9:1793679560*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9:1793680055*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9:1793725552*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1793725584*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1793725842*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-ta-lmes-job-rhel9:1793398367*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-trustyai-garak-lls-provider-dsp-rhel9:1793497091*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-trustyai-nemo-guardrails-server-rhel9:1793369260*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1793727032*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1793729925*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1793730098*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1793732080*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1793726907*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1793728415*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1793725727*
Red Hat OpenShift AI 3.5RedHatrhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1793728320*

References