CVE-2026-46562 Yamcs
| Affected software | Yamcs |
|---|---|
| Severity | 9.8 Critical CVSS 3.1 |
| Fixed in | 5.12.7 |
| Weakness | Code injection (CWE-94) |
| Published | 16 Jul 2026 |
| Updated | 20 Jul 2026 |
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.
CWE-95CWE-470 · Unsafe reflection
Exploitation status
Proof of concept only
A proof of concept exists, but no reviewed exploit catalogue lists this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: total.
- Indexed PoC none indexed
- EPSS 0.98% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Reflection
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR reflection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-470: Unsafe Reflection. |
| Candidate fix | https://github.com/yamcs/yamcs/commit/3c550348f866af4675d2ba4a51d8d12b7c7c6011 : a commit: the change itself |
How to mitigate CVE-2026-46562
Upgrade Yamcs to 5.12.7 or later. Until you can, Waratek RASP blocks exploitation with its reflection rule. It runs inside the Java application, with no code changes.
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.yamcs:yamcs-core |
0 | 5.12.7 |
unbounded |
Products and versions
2 products, 2 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.yamcs | yamcs-core | generic | < 5.12.7 |
| nvd | spaceapplications | yamcs | generic | < 5.12.7 |
References
Timeline
Timeline
| Published | 2026-07-16 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-07-20 | NVD's own last-modified date for this record. |