Critical, CVSS 9.3PyPIAmendedPublished
OpenMed vulnerable to remote code injection through privacy-filter model loading path
CVE-2026-47117 · GHSA-m3v4-v5gx-7wf5
- Affected
- PyPI openmed < 1.5.2
- Fixed in
- 1.5.2· Vendor fix available
- Issue
- 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 modelname parameter, allowing a value such as attacker/foo-privacy-filter-bar to route through a path that loads Hugging Face models with trustremotecode=True. An unauthenticated attacker can supply a malicious model repository containing custom Transformers code via automap in config.json or tokenizerconfig.json, which is imported and executed with the privileges of the OpenMed service process.
Recommended action: Upgrade to 1.5.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.