CVE-2026-47117CWE-94code-injection

CVE-2026-47117

Critical · published June 2, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
70.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01288 · 70.0th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-06-02T20:16Z
References (5)
EPSS history
Timeline
  • 02 JUN 14:15Z
    OpenMed < 1.5.2 Remote Code Execution via PII Model Loading
    cvelistv5