<?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>Yamcs-Core (&lt; 5.12.7) — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/yamcs-core--5.12.7/</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>Wed, 27 May 2026 22:53:33 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/yamcs-core--5.12.7/feed.xml" rel="self" type="application/rss+xml"/><item><title>Yamcs Authenticated Remote Code Execution via Jython Algorithm Code Injection</title><link>https://feed.craftedsignal.io/briefs/2026-05-yamcs-rce/</link><pubDate>Wed, 27 May 2026 22:53:33 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-yamcs-rce/</guid><description>Yamcs is vulnerable to authenticated remote code execution (CVE-2026-46621) where an authenticated user with the ChangeMissionDatabase privilege can inject malicious Jython code into existing Python algorithms, leading to arbitrary command execution on the underlying host operating system.</description><content:encoded><![CDATA[<p>Yamcs is vulnerable to a server-side code injection vulnerability (CVE-2026-46621) in its script evaluation engine for Python algorithms. The application dynamically compiles and evaluates user-controlled algorithm text using Jython via the JSR-223 ScriptEngine API without a secure sandbox. This vulnerability impacts Yamcs deployments where users have the <code>ChangeMissionDatabase</code> privilege and a scripting engine like Jython is present. An authenticated user can exploit this by overriding the algorithm logic via the REST API at <code>/api/mdb/{instance}/realtime/algorithms/{name}</code>. The vulnerability affects <code>yamcs-core</code> versions prior to 5.12.7. This allows an attacker to escalate from application-level configuration privileges to full System/OS control, leading to arbitrary command execution, data exfiltration, and lateral movement.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker authenticates to the Yamcs application with an account possessing the <code>ChangeMissionDatabase</code> privilege.</li>
<li>The attacker identifies an existing algorithm defined in the Mission Database (MDB) with its language explicitly set to <code>python</code>.</li>
<li>The attacker crafts a malicious payload containing Jython code that leverages <code>java.lang.Runtime</code> to execute arbitrary OS commands.</li>
<li>The attacker sends an HTTP PATCH request to <code>/api/mdb/{instance}/realtime/algorithms/{name}</code> to inject the malicious code into the identified Python algorithm.</li>
<li>The Yamcs server receives the PATCH request and updates the algorithm&rsquo;s text with the provided malicious code.</li>
<li>The Yamcs server compiles the injected Jython code into an executable script on the fly.</li>
<li>The attacker triggers the evaluation of the modified algorithm, potentially by sending telemetry data that the algorithm depends on.</li>
<li>The injected Jython code executes the attacker-controlled OS command, achieving remote code execution on the host system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>This vulnerability impacts Yamcs deployments where users have the <code>ChangeMissionDatabase</code> privilege. An attacker can leverage this to escalate from application-level configuration privileges to full System/OS control, leading to arbitrary command execution. This can result in data exfiltration, and potential lateral movement within the hosting infrastructure.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Yamcs to version 5.12.7 or later to patch CVE-2026-46621.</li>
<li>Review and restrict the privileges granted to users, especially the <code>ChangeMissionDatabase</code> privilege, to minimize the attack surface.</li>
<li>Deploy the Sigma rule &ldquo;Detect Yamcs Jython Code Injection&rdquo; to monitor for attempts to inject malicious Jython code into algorithms.</li>
<li>Monitor network traffic for connections to attacker-controlled webhooks or other suspicious destinations, such as the URL listed in the IOC table.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">threat</category><category>rce</category><category>code-injection</category><category>yamcs</category></item></channel></rss>