CVE-2026-46562: Yamcs - Command Injection
- Cve: CVE-2026-46562
- Name: Yamcs - Command Injection
- 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.
- Impact: Attackers can execute arbitrary OS commands as the Yamcs process, potentially leading to full system compromise.
- Remediation: Update to version 5.12.7 or 5.13.0 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs ChangeMissionDatabase privilege; default config allows exploit without authentication
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00976
- Epss percentile: 0.62824
- Assignee: [email protected]
- Published at: 2026-07-16T17:16:56Z
- Age in days: 131
- Modified at: 2026-07-20T01:53:17Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-46562
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75 | nvd | 2026-07-16 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| spaceapplications:yamcs | < 5.12.7 | no | nvd | /v1/products/spaceapplications/yamcs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| yamcs/yamcs | commit, fix, package, releases, security_advisory | yes | /v1/repositories/yamcs/yamcs |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-07-16
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts