OpenMed < 1.5.2 Remote Code Execution via PII Model Loading
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| maziyarpanahi | openmed | before 1.5.2 | 1.5.2 | Patch available | CNA |
| — | openmed (PyPI) | before 1.5.2 | 1.5.2 | Patch available | GHSA-m3v4-v5gx-7wf5 |
- openmed Vendormaziyarpanahi Affected before 1.5.2 Fixed in 1.5.2 Patch available CNA
- openmed (PyPI) Vendor— Affected before 1.5.2 Fixed in 1.5.2 Patch available GHSA-m3v4-v5gx-7wf5
Remediation
- Fix · CNA openmed (maziyarpanahi) Fixed in 1.5.2
- Fix · GHSA-m3v4-v5gx-7wf5 openmed (PyPI) Fixed in 1.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47117
- 2026-10-03 Alias added: GHSA-m3v4-v5gx-7wf5
References
Exploit 1
Patch 1
Other 2
Sources
- CVE-2026-47117 · CVE Program
- CVE-2026-47117 · NVD
- FIRST EPSS
- GHSA-m3v4-v5gx-7wf5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences