{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.5.2"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6d094a0f70b42cbfb44e70d7e42b65dcd63feb72"
            },
            {
              "fixed": "98724f65df98d7518b9006e6356740aa36c2f224"
            }
          ],
          "repo": "https://github.com/maziyarpanahi/openmed",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47117.json"
  },
  "details": "OpenMed before 1.5.2 contains a remote code execution vulnerability in the PII privacy-filter model loading path. The privacy-filter dispatcher used broad substring matching on the user-supplied model_name parameter, allowing a value such as attacker/foo-privacy-filter-bar to route through a path that loads Hugging Face models with trust_remote_code=True. An unauthenticated attacker can supply a malicious model repository containing custom Transformers code via auto_map in config.json or tokenizer_config.json, which is imported and executed with the privileges of the OpenMed service process.",
  "id": "CVE-2026-47117",
  "modified": "2026-07-08T05:38:33.234929571Z",
  "published": "2026-06-02T14:15:17.898Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47117.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/maziyarpanahi/openmed/releases/tag/v1.5.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-47117"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/openmed-remote-code-execution-via-pii-model-loading"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/maziyarpanahi/openmed/pull/59"
    },
    {
      "type": "FIX",
      "url": "https://github.com/maziyarpanahi/openmed/commit/98724f65df98d7518b9006e6356740aa36c2f224"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/maziyarpanahi/openmed"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenMed \u003c 1.5.2 Remote Code Execution via PII Model Loading"
}