Summary
CVE-2026-55559 is a critical remote code execution vulnerability in the Yamcs mission control framework caused by improper YAML escaping of user-supplied template arguments in the instance creation API. Attackers can inject a malicious service entry into the rendered instance configuration to execute arbitrary commands as the Yamcs service account. The flaw carries a CVSS v3.1 base score of 9.8 (Critical).
Technical details
- Root cause:
templateArgssubmitted viaPOST /api/instancesandPATCH /api/instances/{instance}are inserted into a YAML document throughVarStatement.appendwithout YAML-context escaping; the existingEscapeFilteronly performs HTML escaping and leaves YAML-significant characters (newlines, colons, indentation) untouched. - Trigger: an attacker submits a crafted template argument that injects a
servicesentry fororg.yamcs.ProcessRunnerinto the instance configuration. - The rendered configuration is parsed by
YamcsServer.createInstanceand loaded byYamcsServerInstance, causing the injected process runner service to execute attacker-controlled commands. - Attack vector: network, no user interaction required. Exploitation normally requires the
CreateInstancesprivilege, but in unsecured deployments lacking asecurity.yamlfile, the default guest account has superuser rights, making the endpoint reachable without authentication. - Impact: arbitrary command execution as the Yamcs service account, exposing cryptographic secrets (secret keys, LDAP/OIDC credentials, TLS keys), telemetry and command history manipulation, and full host compromise in multi-instance deployments.
Affected software
- Yamcs (yamcs-core) versions prior to 5.12.8
- Yamcs (yamcs-core) versions 5.13.0 up to (but not including) 5.13.2
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade to Yamcs 5.12.8 (for 5.12.x deployments) or 5.13.2 (for 5.13.x deployments).
- If immediate patching is not possible: ensure a
security.yamlfile is configured so the guest account does not default to superuser, and restrict theCreateInstancesprivilege to trusted administrators only. - Restrict network exposure of the Yamcs HTTP API (
/api/instances) to trusted internal networks until patched.

