<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>OpenMed — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/openmed/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 02 Jun 2026 16:20:18 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/openmed/feed.xml" rel="self" type="application/rss+xml"/><item><title>OpenMed RCE via Malicious Hugging Face Model Loading (CVE-2026-47117)</title><link>https://feed.craftedsignal.io/briefs/2026-06-openmed-rce/</link><pubDate>Tue, 02 Jun 2026 16:20:18 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-06-openmed-rce/</guid><description>OpenMed before 1.5.2 is vulnerable to remote code execution (CVE-2026-47117) due to broad substring matching in the PII privacy-filter model loading path, allowing an unauthenticated attacker to execute arbitrary code by supplying a malicious Hugging Face model repository containing custom Transformers code.</description><content:encoded><![CDATA[<p>OpenMed before version 1.5.2 is susceptible to a critical remote code execution vulnerability (CVE-2026-47117) in its PII privacy-filter model loading mechanism. The vulnerability arises from insufficient validation of the <code>model_name</code> parameter, which is used to load Hugging Face models. An unauthenticated attacker can exploit this by crafting a malicious model repository hosted on Hugging Face. The attacker leverages the <code>trust_remote_code=True</code> setting during model loading and supplies a specially crafted <code>model_name</code> containing a substring match that points to their malicious repository. This repository includes custom Transformers code within either <code>config.json</code> or <code>tokenizer_config.json</code> via the <code>auto_map</code> functionality. The injected code is then executed with the same privileges as the OpenMed service process, potentially leading to complete system compromise.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An unauthenticated attacker identifies an OpenMed instance running a version prior to 1.5.2.</li>
<li>The attacker crafts a malicious Hugging Face model repository containing a custom Transformers code payload within the <code>config.json</code> or <code>tokenizer_config.json</code> file, using the <code>auto_map</code> feature to trigger code execution.</li>
<li>The attacker crafts a request to the OpenMed server, targeting the PII privacy-filter functionality.</li>
<li>The attacker includes a <code>model_name</code> parameter in the request that contains a substring matching a legitimate model name prefix, but redirects to the attacker&rsquo;s malicious repository (e.g., <code>attacker/foo-privacy-filter-bar</code>).</li>
<li>OpenMed&rsquo;s privacy-filter dispatcher, due to the broad substring matching, routes the request to load the attacker-controlled model.</li>
<li>The OpenMed service process loads the attacker&rsquo;s malicious model repository from Hugging Face, utilizing the <code>trust_remote_code=True</code> setting.</li>
<li>The custom Transformers code within the malicious <code>config.json</code> or <code>tokenizer_config.json</code> is executed with the privileges of the OpenMed service process.</li>
<li>The attacker achieves remote code execution, enabling them to perform arbitrary actions on the server, such as installing malware, stealing data, or pivoting to other systems.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows an unauthenticated attacker to achieve remote code execution on the OpenMed server. Given the nature of OpenMed as a platform likely handling sensitive patient data, this could lead to severe data breaches, compliance violations, and reputational damage. The attacker could potentially gain complete control of the server and use it as a staging point for further attacks within the network.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately upgrade OpenMed to version 1.5.2 or later to patch CVE-2026-47117.</li>
<li>Implement input validation and sanitization on the <code>model_name</code> parameter used for loading Hugging Face models to prevent malicious model names.</li>
<li>Monitor network traffic for requests containing suspicious <code>model_name</code> parameters that might indicate an attempt to load models from untrusted sources. Deploy the Sigma rule &ldquo;Detect Suspicious OpenMed Model Loading via Hugging Face (CVE-2026-47117)&rdquo; to identify potential exploitation attempts.</li>
<li>Consider disabling the <code>trust_remote_code</code> option for Hugging Face model loading if it is not strictly necessary.</li>
<li>Implement a process creation monitoring rule to detect unusual processes spawned by the OpenMed service, referencing the Sigma rule &ldquo;Detect Unusual Processes Spawned by OpenMed Service&rdquo;.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>cve</category><category>rce</category><category>huggingface</category></item></channel></rss>