{"id":"CVE-2026-47117","summary":"OpenMed \u003c 1.5.2 Remote Code Execution via PII Model Loading","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.","aliases":["GHSA-m3v4-v5gx-7wf5"],"modified":"2026-07-08T08:15:24.072537384Z","published":"2026-06-02T14:15:17.898Z","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"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/maziyarpanahi/openmed","events":[{"introduced":"0"},{"fixed":"6d094a0f70b42cbfb44e70d7e42b65dcd63feb72"},{"fixed":"98724f65df98d7518b9006e6356740aa36c2f224"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.5.2"}],"source":["DESCRIPTION","REFERENCES"]}}],"versions":["v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.8","v0.5.7","v0.5.6","v0.5.5","v0.5.1","v0.5.0","v0.4.0","v0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.2.0-rc2","v0.2.0-rc1","v0.1.10","v0.1.10-rc1","v0.1.9","v0.1.9-rc1","v0.1.8","v0.1.8-rc2","v0.1.8-rc","v0.1.7","v0.1.6","0.1.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47117.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","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"}]}