CVE-2026-112940 json
filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files
published 2026-10-20 20 d ago modified 2026-10-23 16 d ago also GHSA-v4x8-3wr5-3wq8 , EUVD-2026-105031
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi filelock 4.2.1
- tox-dev filelock 4.2.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-112940 updated cvss 6.3
filelock: filelock: Arbitrary file overwrite via insecure database file reopening
-
Red Hat Ansible Automation Orchestrator 2026 ansible-automation-platform/automation-orchestrator-backend-rhel9affected: no fix available
-
Red Hat Exploit Intelligence exploit-intelligence/vulnerability-analysis-rhel9affected: no fix planned “Out of support scope”
-
Red Hat Lightspeed Core lightspeed-core/rag-tool-cpu-rhel9, lightspeed-core/lightspeed-stack-rhel9, lightspeed-core/rag-tool-cuda-12.9-rhel9 Red Hat Lightspeed Services for Advanced Cluster Management lightspeed-services-acm/ocp-rules-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9affected: no fix available
-
Red Hat AI Inference Server rhaii/vllm-tpu-rhel9, rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9, rhaiis/vllm-cuda-rhel9, rhaiis/vllm-rocm-rhel9, rhaii/vllm-neuron-rhel9, +3 moreaffected: no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform 2 python-filelock 3.8.0-1.el9ap, python3x-filelock 3.8.0-1.el8ap, python3.11-filelock 3.13.1-1.el9ap, python3.12-filelock 3.13.1-2.el9ap, automation-controller 4.5.37-1.el8ap, ansible-automation-platform-26/hub-rhel9, +14 moreaffected: no fix available, no fix planned “Out of support scope”
-
Red Hat Ansible Automation Platform Ansible Core 2 ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/disk-image-cuda-rhel9, +2 more Red Hat Lightspeed Services for OCP lightspeed-services-ocp/ocp-rules-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-automl-rhel9, rhoai/odh-autorag-rhel9, rhoai/odh-ogx-core-rhel9, rhoai/odh-caikit-nlp-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-llm-d-kv-cache-rhel9, +37 more Red Hat OpenShift Dev Spaces devspaces/udi-rhel9 Red Hat Satellite 6 satellite/iop-puptoo-rhel9, satellite/iop-yuptoo-rhel9, satellite/iop-advisor-engine-rhel9, satellite/iop-host-inventory-rhel9, satellite/iop-advisor-backend-rhel9, satellite/iop-insights-engine-rhel9affected: no fix available
-
Red Hat AI Inference Server 3.5 rhaii/vllm-cpu-rhel9 1793444554, rhaii/vllm-cuda-rhel9 1793444600, rhaii/vllm-rocm-rhel9 1793444456, rhaii/vllm-gaudi-rhel9 1793444510, rhaii/vllm-spyre-rhel9 1793444409, rhaii/model-opt-cuda-rhel9 1793444339fixed: vendor fix RHSA-2026:94715
show 6 moreshow fewer
-
Red Hat OpenShift AI 3.4 rhoai/odh-ta-lmes-job-rhel9 1793001715, rhoai/odh-th06-cpu-torch210-py312-rhel9 1793084640, rhoai/odh-th06-rocm64-torch291-py312-rhel9 1792745990, rhoai/odh-th06-cuda130-torch210-py312-rhel9 1792748650fixed: vendor fix RHSA-2026:92510
-
Red Hat OpenShift AI 3.5 rhai/guidellm-rhel9 1793719302fixed: vendor fix RHSA-2026:94631
-
Red Hat Pen Drive Powered by Red Hat Lightspeed pen-drive/pen-drive-scanner-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform-26/lightspeed-rhel9, ansible-automation-platform-27/lightspeed-rhel9, ansible-automation-platform-26/eda-controller-rhel9, ansible-automation-platform-27/eda-controller-rhel9 Red Hat Ansible Automation Platform Ansible Core 2 ansible-automation-platform-tech-preview/ee-minimal-rhel8, ansible-automation-platform-tech-preview/ee-minimal-rhel9not affected: vulnerable code not present
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-vllm-gaudi-rhel9, rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-th06-cpu-torch291-py312-rhel9, +1 morenot affected: component not present
-
Red Hat OpenShift AI 3.4 rhoai/odh-cli-rhel9 1792722177, rhoai/rhai-cli-rhel9 1792722177, rhoai/odh-automl-rhel9 1792697253, rhoai/odh-mlflow-rhel9 1793002327, rhoai/odh-autorag-rhel9 1793265800, rhoai/odh-trainer-rhel9 1792817113, +96 morenot affected: vulnerable code not present
-
Red Hat OpenShift Container Platform 4 python-filelock 3.8.0-1.el9apnot affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 d ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | filelock | >=3.20.4, <4.2.1 |
4.2.1 |
Affected products
- tox-dev filelock
Classification
References
-
github.com
/tox-dev/filelock/pull/834
web, patch
-
github.com
/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d
web, patch
-
github.com
/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8
exploit, web, mitigation, patch, vendor-advisory
-
github.com
/tox-dev/filelock/releases/tag/4.2.1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-112940
advisory
-
github.com
/tox-dev/filelock
package
Sources
- CVE List CVE-2026-112940
- GitHub Advisory GHSA-v4x8-3wr5-3wq8
- NVD CVE-2026-112940
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.