CVE-2026-120334
deepset-ai farm Tokenizer Loader tokenization.py EmbeddingTokenizer.from_pretrained path traversal
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read.
Affected products · Deepset-ai
| Product | Affected versions |
|---|---|
| Farm | Versions 0.3, 0.7, 0.8.0, 0.2, 0.4, 0.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-gv3h-7jmh-m254
- https://nvd.nist.gov/vuln/detail/CVE-2026-120334
- https://github.com/3em0/cve_repo/blob/main/2026/Path_Traversal_in_FARM_Tokenizer_Load_via_Attacker-Controlled_vocab_filename.md
- https://vuldb.com/cve/CVE-2026-120334
- https://vuldb.com/submit/1016276
- https://vuldb.com/vuln/429659
- https://vuldb.com/vuln/429659/cti