CVE-2026-120334
MediumCVSS 4.3Summary
A path traversal vulnerability was found in deepset-ai farm up to 0.8.0 in the EmbeddingTokenizer.from_pretrained function of farm/modeling/tokenization.py in the Tokenizer Loader component. Manipulation of the vocab_filename argument leads to path traversal, and the attack may be performed remotely. The exploit has been publicly disclosed, the vendor did not respond, and the vulnerability only affects products no longer supported by the maintainer.
Risk Assessment
A remote attacker could access files outside the intended directory, leading to data disclosure or file overwriting.
Recommendation
Stop using the unsupported deepset-ai farm version and migrate to a maintained alternative or enforce custom path restrictions for vocab_filename.
Other vulnerabilities in deepset-ai farm
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

