SecurityContext

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

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75nvd2026-07-16

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/yamcs/yamcs/commit/3c550348f866af4675d2ba4a51d8d12b7c7c6011Patch
https://github.com/yamcs/yamcs/commit/4ff8fda642ea8c3309a4d3f379aa77b763148992Patch
https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75Exploit, Vendor Advisory
https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.7Release Notes
https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.0Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
spaceapplications:yamcs< 5.12.7nonvd/v1/products/spaceapplications/yamcs

Projects

RepositoryLink kindsIndexedUrl
yamcs/yamcscommit, fix, package, releases, security_advisoryyes/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