CVE-2026-46562
Yamcs: Remote Code Execution via Mission Database algorithm override
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.
INFO
Published Date :
July 16, 2026, 5:16 p.m.
Last Modified :
July 20, 2026, 1:53 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update Yamcs to version 5.12.7 or later.
- Disable algorithm editing by default.
- Review user privileges for algorithm modification.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-46562.
| URL | Resource |
|---|---|
| https://github.com/yamcs/yamcs/commit/3c550348f866af4675d2ba4a51d8d12b7c7c6011 | Patch |
| https://github.com/yamcs/yamcs/commit/4ff8fda642ea8c3309a4d3f379aa77b763148992 | Patch |
| https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.7 | Release Notes |
| https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.0 | Release Notes |
| https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75 | Exploit Vendor Advisory |
| https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75 | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-46562 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-46562
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-46562 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-46562 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 20, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:spaceapplications:yamcs:*:*:*:*:*:*:*:* versions up to (excluding) 5.12.7 Added Reference Type GitHub, Inc.: https://github.com/yamcs/yamcs/commit/3c550348f866af4675d2ba4a51d8d12b7c7c6011 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/yamcs/yamcs/commit/4ff8fda642ea8c3309a4d3f379aa77b763148992 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.7 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.0 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75 Types: Exploit, Vendor Advisory Added Reference Type CISA-ADP: https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75 Types: Exploit, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 16, 2026
Action Type Old Value New Value Added Reference https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75 Added SSVC {'id': 'CVE-2026-46562', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-07-16T18:01:46.175576Z'} -
New CVE Received by [email protected]
Jul. 16, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'yamcs', 'product': 'yamcs', 'versions': [{'status': 'affected', 'version': '< 5.12.7'}]}] Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-94 Added CWE CWE-470 Added CWE CWE-95 Added Reference https://github.com/yamcs/yamcs/commit/3c550348f866af4675d2ba4a51d8d12b7c7c6011 Added Reference https://github.com/yamcs/yamcs/commit/4ff8fda642ea8c3309a4d3f379aa77b763148992 Added Reference https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.7 Added Reference https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.0 Added Reference https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75