{"id":"CVE-2026-47117","state":"PUBLISHED","title":"OpenMed < 1.5.2 Remote Code Execution via PII Model Loading","description":"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.","publishedAt":"2026-06-02T14:15:17.898Z","updatedAt":"2026-10-08T15:22:56.937Z","severity":{"score":9.3,"label":"Critical","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["maziyarpanahi openmed"],"affected":[{"vendor":"maziyarpanahi","product":"openmed","packageURL":"pkg:pypi/openmed","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"1.5.2","versionType":"semver"}],"repo":"https://github.com/maziyarpanahi/openmed"}],"references":["https://github.com/SaiTeja-Erukude/CVE-2026-47117-openmed-rce","https://github.com/maziyarpanahi/openmed/releases/tag/v1.5.2","https://github.com/maziyarpanahi/openmed/pull/59","https://github.com/maziyarpanahi/openmed/commit/98724f65df98d7518b9006e6356740aa36c2f224","https://www.vulncheck.com/advisories/openmed-remote-code-execution-via-pii-model-loading"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47117.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47117","state":"PUBLISHED","datePublished":"2026-06-02T14:15:17.898Z","dateUpdated":"2026-10-08T15:22:56.937Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-05-18T19:22:26.749Z"},"containers":{"cna":{"title":"OpenMed < 1.5.2 Remote Code Execution via PII Model Loading","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"maziyarpanahi","product":"openmed","packageURL":"pkg:pypi/openmed","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"1.5.2","versionType":"semver"}],"repo":"https://github.com/maziyarpanahi/openmed"}],"references":[{"url":"https://github.com/SaiTeja-Erukude/CVE-2026-47117-openmed-rce","tags":["technical-description","exploit"],"name":"Researcher Disclosure"},{"url":"https://github.com/maziyarpanahi/openmed/releases/tag/v1.5.2","tags":["release-notes"],"name":"Release Notes"},{"url":"https://github.com/maziyarpanahi/openmed/pull/59","tags":["issue-tracking"],"name":"Pull Request"},{"url":"https://github.com/maziyarpanahi/openmed/commit/98724f65df98d7518b9006e6356740aa36c2f224","tags":["patch"],"name":"Patch Commit"},{"url":"https://www.vulncheck.com/advisories/openmed-remote-code-execution-via-pii-model-loading","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"CRITICAL","baseScore":9.3,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"CRITICAL","baseScore":9.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-08T15:22:56.937Z"},"tags":["x_open-source"],"datePublic":"2026-06-02T00:00:00.000Z","credits":[{"lang":"en","value":"Sai Teja Erukude","type":"finder"},{"lang":"en","value":"VulnCheck","type":"coordinator"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-02T16:35:00.418898Z","id":"CVE-2026-47117","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-02T16:42:18.299Z"}}]}}}