WaratekVRT Sign in

CVE-2026-46562 Yamcs

Affected softwareYamcs
Severity9.8 Critical CVSS 3.1
Fixed in5.12.7
WeaknessCode injection (CWE-94)
Published16 Jul 2026
Updated20 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.

  • 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

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

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.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.yamcs:yamcs-core 0 5.12.7 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv org.yamcs yamcs-core generic < 5.12.7
nvd spaceapplications yamcs generic < 5.12.7

References

URLTags
https://github.com/yamcs/yamcs/commit/3c550348f866af4675d2ba4a51d8d12b7c7c6011 commit
https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75 WEB
https://github.com/yamcs/yamcs PACKAGE
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

Timeline

Published2026-07-16By the CVE Program.
NVD record modified2026-07-20NVD's own last-modified date for this record.