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

Critical 9.3 Published Updated

Unauthenticated attackers can execute arbitrary code by supplying a malicious model name that triggers remote code execution during model loading.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-47117?

CVE-2026-47117 is a critical code injection vulnerability in maziyarpanahi openmed, published on 2 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-94

Which versions are affected by CVE-2026-47117?

3 open source packages ship an affected version, including openmed.

PackageAffectedFixed in
openmed PyPIAll versions1.5.2
openmed PyPIAll versions1.5.2
openmed PyPIAll versions1.5.2

How do I fix CVE-2026-47117?

Upgrade openmed to 1.5.2 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-47117 being exploited?

There is no known exploitation of CVE-2026-47117 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-m3v4-v5gx-7wf5, PYSEC-2026-2852.

Is CVE-2026-47117 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free