{"id":"CVE-2026-47117","aliases":["CVE-2026-47117","GHSA-m3v4-v5gx-7wf5","PYSEC-2026-2852"],"related":[],"kind":"vulnerability","state":"published","title":"OpenMed < 1.5.2 Remote Code Execution via PII Model Loading","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenMed antes de 1.5.2 contiene una vulnerabilidad de ejecución remota de código en la ruta de carga del modelo de filtro de privacidad PII. El despachador del filtro de privacidad utilizaba una coincidencia amplia de subcadenas en el parámetro model_name suministrado por el usuario, permitiendo que un valor como 'attacker/foo-privacy-filter-bar' se enrutara a través de una ruta que carga modelos de Hugging Face con trust_remote_code=True. Un atacante no autenticado puede suministrar un repositorio de modelos malicioso que contenga código personalizado de Transformers a través de auto_map en config.json o tokenizer_config.json, el cual es importado y ejecutado con los privilegios del proceso del servicio OpenMed.","source":"nvd"}],"published":"2026-06-02T14:15:17.898Z","modified":"2026-11-08T14:04:08.243Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.5.2","status":"affected"}],"vendor":"maziyarpanahi","product":"openmed","repo":"https://github.com/maziyarpanahi/openmed","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.5.2"}],"ecosystem":"PyPI","package":"openmed","purl":"pkg:pypi/openmed","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.5.2"}],"ecosystem":"PyPI","package":"openmed","purl":"pkg:pypi/openmed","source":"pysec"}],"references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-47117-openmed-rce","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/maziyarpanahi/openmed/releases/tag/v1.5.2","tags":["release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/maziyarpanahi/openmed/pull/59","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/maziyarpanahi/openmed/commit/98724f65df98d7518b9006e6356740aa36c2f224","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/openmed-remote-code-execution-via-pii-model-loading","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47117","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/openmed","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-m3v4-v5gx-7wf5","tags":["advisory"],"sources":["pysec"]}],"credits":["Sai Teja Erukude","VulnCheck"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-06-02T16:35:00.418Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47117","url":"https://www.cve.org/CVERecord?id=CVE-2026-47117","licence":"CVE Terms of Use","modified":"2026-11-08T14:04:08.243Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m3v4-v5gx-7wf5","url":"https://github.com/advisories/GHSA-m3v4-v5gx-7wf5","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:30.876Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47117","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47117","licence":"Public domain","modified":"2026-10-08T16:17:17.687Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2852","url":"https://osv.dev/vulnerability/PYSEC-2026-2852","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:33.806Z"}],"updatedAt":"2026-11-25T22:59:23.577Z","epss":{"score":0.01117,"percentile":0.67016,"date":"2026-12-01T12:00:22.000Z"}}