All reports
Critical

OpenMed vulnerable to remote code injection through privacy-filter model loading path

Affected versions

Version ranges need review.

Affected versions
<1.5.2 || =0.1 || =0.1.1 || =0.1.10 || =0.1.10rc1 || =0.1.4 || =0.1.5 || =0.1.7 || =0.1.8 || =0.1.8rc0 || =0.1.8rc2 || =0.1.9 || =0.1.9rc1 || =0.2.0 || =0.2.0rc1 || =0.2.0rc2 || =0.2.1 || =0.2.2 || =0.3.0 || =0.4.0 || =0.5.0 || =0.5.1 || =0.5.5 || =0.5.6 || =0.5.7 || =0.5.8 || =0.6.0 || =0.6.1 || =0.6.2 || =0.6.3 || =0.6.4 || =1.0.0 || =1.1.0 || =1.2.0 || =1.3.0 || =1.4.0 || =1.5.0 || =1.5.1
Fixed version
1.5.2
Affected versions
< 1.5.2
Fixed version
1.5.2

Exploitation

CVE-2026-47117

Probability of exploitation in the next 30 days: 0.92%

FIRST EPSS · 2026-11-24

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.

Links

Credits

  • faketut