{"id":"CVE-2026-142491","summary":"eole through 0.6.8 Code Execution via eval() of Model config.json Values","details":"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.","modified":"2026-12-02T19:00:26.217084649Z","published":"2026-12-02T17:42:37.500Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-95"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142491.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142491.json"},{"type":"PACKAGE","url":"https://github.com/eole-nlp/eole"},{"type":"ARTICLE","url":"https://github.com/eole-nlp/eole/blob/0.6.8/eole/config/models.py#L702-L711"},{"type":"ARTICLE","url":"https://github.com/eole-nlp/eole/blob/0.6.8/eole/config/run.py#L174-L205"},{"type":"FIX","url":"https://github.com/eole-nlp/eole/commit/8d87e44b111c5cd9781d562b083deda3958286c2"},{"type":"REPORT","url":"https://github.com/eole-nlp/eole/issues/528"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142491"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/eole-through-0.6.8-code-execution-via-eval-of-model-config-json-values"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eole-nlp/eole","events":[{"introduced":"0"},{"last_affected":"9e903b7db2e135a168536f1802986822af13c689"},{"fixed":"8d87e44b111c5cd9781d562b083deda3958286c2"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"0.6.8"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"8d87e44b111c5cd9781d562b083deda3958286c2"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["0.6.8","0.6.7","0.6.6","0.6.5","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0","0.5.3","0.5.2","0.5.1","0.5.0","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","0.3.0","0.2.0","0.1.2","0.1.1","0.1.0","0.0.3","0.0.2","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142491.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}