CVE-2026-142491 — eole-nlp eole
Summary
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.
Severity breakdown
High · 8.5
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| eole-nlp eole | ≤ 0.6.8 | — |
References by type
Patches and fixed releases
Other references
Affected
- eole-nlp eole
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142491?
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. Weakness type: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (CWE-95).
How severe is CVE-2026-142491?
CVE-2026-142491 has a CVSS 4.0 base score of 8.5 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2026-142491 being exploited?
Not as far as is known: CVE-2026-142491 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142491?
eole-nlp eole ≤ 0.6.8.
How do I fix CVE-2026-142491?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.