CVE-2026-46562
CWE-94Published: July 16, 2026· Updated: Jul 20, 2026
Official Description
Yamcs is a mission control framework. Prior to 5.12.7, the Nashorn ScriptEngine used to evaluate user-supplied JavaScript algorithm text in yamcs-core/src/main/java/org/yamcs/algorithms/ScriptAlgorithmExecutorFactory.java was constructed without a ClassFilter, so a user with the ChangeMissionDatabase privilege could override an algorithm through the MdbOverrideApi.updateAlgorithm endpoint and supply JavaScript that reaches arbitrary Java classes (for example Java.type("java.lang.Runtime").getRuntime().exec(...)) to execute arbitrary OS commands as the Yamcs process; in the default configuration with no security.yaml the built-in guest user has superuser=true, making the issue reachable without authentication. This issue is fixed in versions 5.12.7 and 5.13.0, which disable algorithm editing by default.
Risk Analysis
This critical vulnerability in Yamcs allows an unauthenticated attacker to achieve remote code execution by exploiting the Nashorn ScriptEngine. By overriding an algorithm and supplying malicious JavaScript, an attacker can execute arbitrary OS commands as the Yamcs process. The CVSSv3.1 score of 9.8 indicates a severe risk, especially since the default configuration allows unauthenticated access for the built-in guest user.
No public exploit is currently known for this vulnerability. The attack vector is network-based with low attack complexity, indicating it is remotely exploitable.
To mitigate this vulnerability, upgrade Yamcs to version 5.12.7 or 5.13.0 or later. These versions disable algorithm editing by default, preventing the exploitation of this flaw.
Technical Analysis
CVE-2026-46562 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (6)
Quick Facts
Related CVEs (CWE-94)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-46562 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts