CVE-2026-142491
eole through 0.6.8 contains an eval injection vulnerability in …
eole through 0.6.8 contains an eval injection vulnerability in pydantic configuration validators that allows attackers to execute Python code by supplying a crafted model directory. Attackers can distribute a model or Hugging Face repository whose config.json contains malicious strings in fields like model.embeddings, executing code as the user loading the model.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/eole-nlp/eole/blob/0.6.8/eole/config/models.py#L702-L711
- github.com/eole-nlp/eole/blob/0.6.8/eole/config/run.py#L174-L205
- github.com/eole-nlp/eole/commit/8d87e44b111c5cd9781d562b083deda3958286c2
- github.com/eole-nlp/eole/issues/528
- www.vulncheck.com/advisories/eole-through-0.6.8-code-execution-via-eval-of-model-config-js
- nvd.nist.gov/vuln/detail/CVE-2026-142491
- cve.org/CVERecord?id=CVE-2026-142491
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.