CVE-2026-47117
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.
Weakness
- CWE-94: Improper Control of Generation of Code
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-06-02 |
Timeline
- 2026-06-02Published by the CNA14:15 UTC
- 2026-06-02GitHub advisory published (GHSA-m3v4-v5gx-7wf5)same day
- 2026-06-02CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-m3v4-v5gx-7wf5, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI openmed | before 1.5.2 | 1.5.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| maziyarpanahi openmed | from 0 before 1.5.2fixed in 1.5.2 | 1.5.2 |
References
- https://github.com/maziyarpanahi/openmed/commit/98724f65df98d7518b9006e6356740aa36c2f224
- https://github.com/maziyarpanahi/openmed/pull/59
- https://github.com/SaiTeja-Erukude/CVE-2026-47117-openmed-rce
- https://github.com/maziyarpanahi/openmed/releases/tag/v1.5.2
- https://www.vulncheck.com/advisories/openmed-remote-code-execution-via-pii-model-loading
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-47117'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-47117'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-47117'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-47117'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).