Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-55559 EUVD-2026-67843GHSA-73mf-m39p-wpm9

Yamcs: Remote Code Execution via instance-template argument YAML injection (createInstance)

Published Aug 28, 2026 · Updated Aug 28, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
yamcs yamcs < 5.12.8, >= 5.13.0, < 5.13.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.yamcs:yamcs-core >= 5.13.0, < 5.13.2 5.13.2 GHSA-73mf-m39p-wpm9
Maven org.yamcs:yamcs-core < 5.12.8 5.12.8 GHSA-73mf-m39p-wpm9

References