Vulnerability · Published Jun 2, 2026 · Assigned by VulnCheck

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

Critical 9.8

In plain English

A critical-severity code injection in openmed from maziyarpanahi. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.9%top 39.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIopenmed1.5.2GHSA-m3v4-v5gx-7wf5
PyPIopenmed1.5.2PYSEC-2026-2852

Affected products (as reported)

VendorProductVersions
maziyarpanahi openmed 0 – before 1.5.2

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References