


Perceptive Security
SOC/SIEM Consultancy

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 subst…
Published:
1 juni 2026 om 22:00:00
Alert date:
2 juni 2026 om 18:03:09
Source:
nvd.nist.gov
Enterprise Applications, Supply Chain & Dependencies
OpenMed versions before 1.5.2 contain a critical remote code execution vulnerability in the PII privacy-filter model loading functionality. The vulnerability stems from improper substring matching in the privacy-filter dispatcher that processes user-supplied model_name parameters. Attackers can exploit this by crafting malicious model names like 'attacker/foo-privacy-filter-bar' to bypass security controls. This allows loading of Hugging Face models with trust_remote_code=True, enabling execution of arbitrary code. Unauthenticated attackers can supply malicious model repositories containing custom Transformers code via auto_map configurations in config.json or tokenizer_config.json files. The malicious code executes with the full privileges of the OpenMed service process, making this a critical security issue.
Technical details
Mitigation steps:
Affected products:
OpenMed
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-47117
https://github.com/maziyarpanahi/openmed/commit/98724f65df98d7518b9006e6356740aa36c2f224
https://github.com/maziyarpanahi/openmed/pull/59
https://github.com/maziyarpanahi/openmed/releases/tag/v1.5.2
https://www.vulncheck.com/advisories/openmed-remote-code-execution-via-pii-model-loading
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
