CVE-2026-120335 Details
Description
A vulnerability has been found in deepset-ai farm up to 0.8.0. Affected is the function WordEmbedding_LM.load of the file farm/modeling/language_model.py of the component Model Package Loader. The manipulation of the argument embeddings_filename leads to path traversal. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way. This vulnerability only affects products that are no longer supported by the maintainer.
A path traversal vulnerability has been identified in deepset-ai FARM versions through 0.8.0. The issue arises in the WordEmbedding_LM model package loader, specifically within the load function of the language_model.py file. The vulnerability is triggered by manipulating the embeddings_filename argument, which allows for traversal outside the intended directory. This flaw requires local exploitation and affects unsupported products.
As the upstream repository has been archived, no official fix is expected. However, forks and downstream consumers should normalize the path from the embeddings_filename and vocab_filename fields, rejecting any paths that escape the model package root. Treat the language_model_config.json file as untrusted input and load it in a controlled environment to prevent unauthorized access to user data.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 2, 2026CISA-ADP
Assessed Nov 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/3em0/cve_repo/blob/main/2026/Path_Traversal_in_FARM_WordEmbedding_LM_Model_Package_Loading.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-120335 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1016279 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/429660 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/429660/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| deepset GmbH FARM | 0.8.0 (semver) 0.8.1-snapshot (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 2, 2026 | CVE Modified | CISA-ADP |
| Nov 2, 2026 | New CVE Received | [email protected] |
Volerion