Description
Yamcs is a mission control framework. Prior to 5.12.8 and 5.13.2, Yamcs inserts templateArgs from POST /api/instances and PATCH /api/instances/{instance} into YAML through VarStatement.append in yamcs-core/src/main/java/org/yamcs/templating/VarStatement.java without YAML-context escaping. The rendered configuration is parsed by YamcsServer.createInstance and loaded by YamcsServerInstance, allowing an attacker to inject a services entry for org.yamcs.ProcessRunner. Deployments without security.yaml expose the operation through the guest superuser, while secured deployments require SystemPrivilege.CreateInstances. Successful exploitation executes commands as the Yamcs service account. This issue is fixed in versions 5.12.8 and 5.13.2.
Published: 2026-08-28
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Yamcs allows a remote actor to inject arbitrary YAML content via the templateArgs field in POST /api/instances and PATCH /api/instances/{instance}. The injected YAML can add a services entry that references org.yamcs.ProcessRunner, causing the server to execute commands under the Yamcs service account. This flaw arises from improper input validation (CWE‑1336), lack of context escaping (CWE‑470), and full command injection capabilities (CWE‑94). Successful exploitation grants the attacker the ability to run arbitrary system commands with the privileges of the Yamcs service account, fully compromising the host.

Affected Systems

The vulnerability affects installations of the Yamcs mission control framework before version 5.12.8 or 5.13.2. Any deployment, especially those lacking a security.yaml file, is exposed because the API endpoints permit injection via POST or PATCH to `/api/instances`. Secure deployments require the SystemPrivilege.CreateInstances role; however, once that privilege is granted the flaw remains exploitable.

Risk and Exploitability

The CVSS score of 9.8 classifies this flaw as Critical. Exploitation does not require privileged authentication beyond the normal API calling rights and can be performed directly over the network via crafted requests. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the high CVSS score and broad exposure of API endpoints indicate a high probability of exploitation. Attackers with access to the API can achieve full remote code execution as the Yamcs service account, making this a top priority for remediation.

Generated by OpenCVE AI on August 28, 2026 at 20:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Yamcs to version 5.12.8 or later, including 5.13.2 and newer releases, which contain the patch for the injection flaw.
  • Ensure that all deployments include a security.yaml configuration file and that only trusted users possess the SystemPrivilege.CreateInstances role; remove the guest superuser role where possible.
  • If an immediate upgrade is not feasible, constrain network access to the Yamcs API, requiring authenticated HTTPS connections and restricting IP ranges to trusted hosts, to limit exposure to the injection vector.

Generated by OpenCVE AI on August 28, 2026 at 20:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-73mf-m39p-wpm9 Yamcs vulnerable to Remote Code Execution via instance-template argument YAML injection (createInstance)
History

Fri, 28 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Yamcs
Yamcs yamcs
Vendors & Products Yamcs
Yamcs yamcs

Fri, 28 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 28 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Description Yamcs is a mission control framework. Prior to 5.12.8 and 5.13.2, Yamcs inserts templateArgs from POST /api/instances and PATCH /api/instances/{instance} into YAML through VarStatement.append in yamcs-core/src/main/java/org/yamcs/templating/VarStatement.java without YAML-context escaping. The rendered configuration is parsed by YamcsServer.createInstance and loaded by YamcsServerInstance, allowing an attacker to inject a services entry for org.yamcs.ProcessRunner. Deployments without security.yaml expose the operation through the guest superuser, while secured deployments require SystemPrivilege.CreateInstances. Successful exploitation executes commands as the Yamcs service account. This issue is fixed in versions 5.12.8 and 5.13.2.
Title Yamcs: Remote Code Execution via instance-template argument YAML injection (createInstance)
Weaknesses CWE-1336
CWE-470
CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-28T19:58:04.713Z

Reserved: 2026-06-16T23:11:20.213Z

Link: CVE-2026-55559

cve-icon Vulnrichment

Updated: 2026-08-28T19:57:37.417Z

cve-icon NVD

Status : Received

Published: 2026-08-28T20:18:28.930

Modified: 2026-08-28T22:16:51.073

Link: CVE-2026-55559

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T22:30:17Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

  • CWE-470

    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')