Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.9%top 43%

CVE-2026-47117: Improper Control of Generation of Code ('Code Injection') in maziyarpanahi openmed

0
Critical
VulnerabilityCVE-2026-47117cvecve-2026-47117
Published: 06/02/2026 (06/02/2026, 14:15:17 UTC)
Source: CVE Database V5
Vendor/Project: maziyarpanahi
Product: openmed

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.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
maziyarpanahi/openmed
pkg:github/maziyarpanahi/openmed
Affected versions
<1.5.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:04:19 UTC

Technical Analysis

CVE-2026-47117 is a critical remote code execution vulnerability in OpenMed before version 1.5.2. The issue is due to improper control of code generation in the privacy-filter dispatcher, which uses broad substring matching on the model_name parameter. This allows an attacker to route requests to load Hugging Face models with trust_remote_code=True, enabling execution of attacker-supplied code embedded in model configuration files (auto_map in config.json or tokenizer_config.json). The vulnerability can be exploited remotely without authentication, resulting in execution of arbitrary code with the OpenMed service's privileges.

Potential Impact

An unauthenticated remote attacker can execute arbitrary code on the OpenMed server by supplying a specially crafted model_name parameter that causes loading of malicious Hugging Face models. This leads to full compromise of the OpenMed service process, potentially allowing data theft, service disruption, or further network penetration. The CVSS 4.0 base score is 9.3, indicating a critical severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects OpenMed versions prior to 1.5.2, upgrading to version 1.5.2 or later is recommended once an official fix is released. Until then, restrict access to the model loading functionality and avoid using untrusted model_name inputs to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-05-18T19:22:26.749Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1efb6ae29bf47b50db3b50

Added to database: 06/02/2026, 15:48:58 UTC

Last enriched: 07/15/2026, 10:04:19 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 95

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses