# CVE-2026-46562: Yamcs: Remote Code Execution via Mission Database algorithm override

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-27T22:45:49.000Z
- Modified: 2026-07-20T01:53:17.737Z
- Also known as: GHSA-vmwp-vh32-rj75
- Weaknesses: CWE-94, CWE-95, CWE-470
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- yamcs yamcs: < 5.12.7
- org.yamcs:yamcs-core (Maven): before 5.12.7
- spaceapplications yamcs: before 5.12.7

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75> (exploit, vendor-advisory, web)
- <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> (package)

## Sources

- CVE List: [CVE-2026-46562](https://www.cve.org/CVERecord?id=CVE-2026-46562), CVE Terms of Use, modified 2026-07-16
- GitHub Advisory Database: [GHSA-vmwp-vh32-rj75](https://github.com/advisories/GHSA-vmwp-vh32-rj75), CC-BY-4.0, modified 2026-05-27
- NVD: [CVE-2026-46562](https://nvd.nist.gov/vuln/detail/CVE-2026-46562), Public domain, modified 2026-07-20

---

Page: https://cve.day/CVE-2026-46562 · Whole record: https://cve.day/CVE-2026-46562.json · Rebuilt by cve.day 2026-11-25T22:59:28.404Z
