{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.6.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "8d87e44b111c5cd9781d562b083deda3958286c2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "9e903b7db2e135a168536f1802986822af13c689"
            },
            {
              "fixed": "8d87e44b111c5cd9781d562b083deda3958286c2"
            }
          ],
          "repo": "https://github.com/eole-nlp/eole",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-142491",
  "modified": "2026-12-02T18:45:59.093773239Z",
  "published": "2026-12-02T17:42:37.500Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "eole through 0.6.8 Code Execution via eval() of Model config.json Values"
}