cve.bz

CVE-2026-112940 tox-dev filelock: Link Following

7.1 highExploit referenceEPSS 0.2%Fix available

High (7.1) in tox-dev filelock. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in filelock 4.2.1.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-10-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-363 Race Condition Enabling Link Following
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-112940 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-112940?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-112940?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-112940 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
tox-dev:filelockfrom 3.20.4 before 4.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v4x8-3wr5-3wq8PyPIfilelock>=3.20.4 <4.2.14.2.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13python-filelockno fix listedDEBIAN-CVE-2026-112940
Debian14python-filelock4.2.8-1DEBIAN-CVE-2026-112940
Ubuntu26.04:LTS, 26.10, Pro:18.04:LTS and 3 morepython-filelockno fix listedUBUNTU-CVE-2026-112940

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity rather than Important because successful exploitation requires local account access and non-standard directory permissions where untrusted users can manipulate filenames within an unsticky parent directory. Under standard Red Hat Enterprise Linux installations, default kernel settings such as fs.protected_regular and fs.protected_hardlinks restrict link manipulation in common shared locations like /tmp. In addition, exposure is limited to workloads configured to utilize the SQLite-backed ReadWriteLock mechanism rather than standard single-process locking.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.5rhaii/vllm-cpu-rhel9:1793444554Fixed 2026-11-03RHSA-2026:94702
Red Hat AI Inference Server 3.5rhaii/vllm-rocm-rhel9:1793444456Fixed 2026-11-03RHSA-2026:94709
Red Hat AI Inference Server 3.5rhaii/model-opt-cuda-rhel9:1793444339Fixed 2026-11-03RHSA-2026:94715
Red Hat AI Inference Server 3.5rhaii/vllm-spyre-rhel9:1793444409Fixed 2026-11-03RHSA-2026:94717
Red Hat AI Inference Server 3.5rhaii/vllm-gaudi-rhel9:1793444510Fixed 2026-11-03RHSA-2026:94721
Red Hat AI Inference Server 3.5rhaii/vllm-cuda-rhel9:1793444600Fixed 2026-11-03RHSA-2026:94738
Red Hat OpenShift AI 3.4rhoai/odh-ta-lmes-job-rhel9:1793001715Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-th06-cpu-torch210-py312-rhel9:1793084640Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-th06-cuda130-torch210-py312-rhel9:1792748650Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-th06-rocm64-torch291-py312-rhel9:1792745990Fixed 2026-10-29RHSA-2026:92510
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-backend-rhel9Affected
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Out of support scope
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Affected
Lightspeed Services for Advanced Cluster Managementlightspeed-services-acm/ocp-rules-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Affected
Pen Drive Powered by Red Hat Lightspeedpen-drive/pen-drive-scanner-rhel9Not affected
105 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-112940.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON