# CVE-2026-142491: eole through 0.6.8 Code Execution via eval() of Model config.json Values

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **CWE:** CWE-95
- **Published:** 2026-12-02T17:42:37.500Z
- **Modified:** 2026-12-02T18:19:01.047Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can execute arbitrary Python code as the user loading a model by supplying a crafted config.json in a model directory, affecting the eole library.

## Who should check

- Anyone running eole-nlp eole \<= 0.6.8

## Description

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.

## Affected and fixed versions

- eole-nlp eole: \<= 0.6.8 (cvelist)

## Technologies

Python (AI-matched)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142491. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142491.md
Affected: eole-nlp eole <= 0.6.8
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for eole-nlp eole: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142491 being exploited?

There is no confirmed exploitation: CVE-2026-142491 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142491?

High: CVSS 8.5 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-142491?

eole-nlp eole \<= 0.6.8.

### Is there a fix for CVE-2026-142491?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142491?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/eole-nlp/eole/commit/8d87e44b111c5cd9781d562b083deda3958286c2>
- article: <https://github.com/eole-nlp/eole/blob/0.6.8/eole/config/models.py#L702-L711>
- article: <https://github.com/eole-nlp/eole/blob/0.6.8/eole/config/run.py#L174-L205>
- other: <https://github.com/eole-nlp/eole/issues/528>
- other: <https://www.vulncheck.com/advisories/eole-through-0.6.8-code-execution-via-eval-of-model-config-json-values>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142491>

HTML: <https://flawdb.com/CVE-2026-142491> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142491>
