Description
A flaw has been found in deepset-ai farm up to 0.8.0. This impacts the function EmbeddingTokenizer.from_pretrained of the file farm/modeling/tokenization.py of the component Tokenizer Loader. Executing a manipulation of the argument vocab_filename can lead to path traversal. The attack may be performed from remote. The exploit has been published 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.
Published: 2026-11-02
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Path Traversal enabling remote file access
Action: Immediate Patch
AI Analysis

Impact

A path traversal flaw exists in deepset‑AI FARM’s EmbeddingTokenizer.from_pretrained function due to insufficient validation of the vocab_filename argument. By supplying a crafted filename that contains directory traversal sequences, an attacker can cause the tokenizer loader to resolve a path outside the intended directory, thereby reading arbitrary files on the host. If the downloaded vocabulary contains executable code, the attacker could also place files that could be later executed by other processes. The vulnerability permits remote exploitation because the function can be invoked over exposed interfaces in applications that expose FARM as a service.

Affected Systems

The flaw affects deepset‑AI FARM versions up to and including 0.8.0. All releases in this series that are no longer supported by the maintainer are impacted. No supported (up‑to‑date) releases are known to contain the issue.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is remote. A published exploit demonstrates that the path traversal can be triggered from an attacker‐controlled environment, enabling the attacker to access arbitrary files on the system. Because the flaw resides in the library code, exploitation does not require additional privilege escalation beyond the permissions of the running process, making it readily exploitable for attackers who can reach the service.

Generated by OpenCVE AI on November 2, 2026 at 04:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade deepset‑AI FARM to a supported release that fixes the tokenizer loader (e.g., version 0.9.0 or later).
  • If an upgrade is not possible, run the application under a user with the minimal filesystem permissions required, and ensure the working directory is confined so that even a path traversal remains inside a controlled area.
  • Configure the application to validate the vocab_filename against a whitelist of allowed directories or remove the ability to supply an arbitrary value to EmbeddingTokenizer.from_pretrained from exposed APIs.

Generated by OpenCVE AI on November 2, 2026 at 04:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Nov 2026 03:00:00 +0000

Type Values Removed Values Added
Description A flaw has been found in deepset-ai farm up to 0.8.0. This impacts the function EmbeddingTokenizer.from_pretrained of the file farm/modeling/tokenization.py of the component Tokenizer Loader. Executing a manipulation of the argument vocab_filename can lead to path traversal. The attack may be performed from remote. The exploit has been published 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.
Title deepset-ai farm Tokenizer Loader tokenization.py EmbeddingTokenizer.from_pretrained path traversal
First Time appeared Deepset-ai
Deepset-ai farm
Weaknesses CWE-22
CPEs cpe:2.3:a:deepset-ai:farm:*:*:*:*:*:*:*:*
Vendors & Products Deepset-ai
Deepset-ai farm
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:N/A:N/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-11-02T02:45:23.719Z

Reserved: 2026-11-01T14:28:47.861Z

Link: CVE-2026-120334

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-02T03:17:30.630

Modified: 2026-11-02T03:17:30.630

Link: CVE-2026-120334

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-02T04:30:16Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')