CVE-2026-142491
Received Received - Intake

Eval Injection in Eole via Pydantic Config Validators

Vulnerability report for CVE-2026-142491, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
eole-nlp eole From 0 (inc) to 0.6.8 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-95 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-142491 is a high-severity vulnerability in eole versions up to 0.6.8 that allows code execution via eval() injection in Model config.json values. Attackers can exploit this by providing a malicious model directory or Hugging Face repository with crafted config.json files, particularly targeting fields like model.embeddings, to execute arbitrary Python code when the model is loaded. The flaw stems from improper neutralization of directives in dynamically evaluated code (CWE-95).

Detection Guidance

Check for eole versions up to 0.6.8 using pip show eole or pip list. Inspect config.json files in model directories for suspicious fields like model.embeddings. Use grep to search for eval() usage in eole configuration files.

Impact Analysis

This vulnerability allows attackers to execute arbitrary Python code on your system when you load a malicious model. This could lead to unauthorized access to files, credentials, or GPU resources. Exploitation requires user interaction, such as loading a malicious model, but could result in high impact on confidentiality, integrity, and availability of your system.

Mitigation Strategies

Upgrade eole to a patched version. Replace eval() with ast.literal_eval() in configuration parsers. Avoid loading models from untrusted sources. Monitor for unusual system activity after loading models.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142491. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...