# CVE-2026-55559: Yamcs: Remote Code Execution via instance-template argument YAML injection (createInstance)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.78% (percentile 53, 2026-11-26)
- **CWE:** CWE-94, CWE-470, CWE-1336
- **Aliases:** GHSA-73mf-m39p-wpm9
- **Published:** 2026-08-28T17:22:07.633Z
- **Modified:** 2026-09-08T21:08:37.320Z

## Who should check

- Projects that depend on Maven package org.yamcs:yamcs-core (\>= 5.13.0, \< 5.13.2)
- Anyone running yamcs \< 5.12.8; \>= 5.13.0, \< 5.13.2

## 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 and fixed versions

- Maven `org.yamcs:yamcs-core`: affected \>= 5.13.0, \< 5.13.2; fixed 5.13.2, 5.12.8 (osv)
- yamcs: \< 5.12.8; \>= 5.13.0, \< 5.13.2 (cvelist)

## Mitigation

- Upgrade org.yamcs:yamcs-core to one of 5.13.2, 5.12.8 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55559. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55559.md
Affected: org.yamcs:yamcs-core >= 5.13.0, < 5.13.2
Fixed in: 5.13.2, 5.12.8

Steps:
1. Search this machine and project for org.yamcs:yamcs-core (Maven), yamcs: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55559 being exploited?

There is no confirmed exploitation: CVE-2026-55559 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-55559?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-55559?

org.yamcs:yamcs-core \>= 5.13.0, \< 5.13.2.

### Is there a fix for CVE-2026-55559?

Yes. Fixed in 5.13.2, 5.12.8. Upgrade org.yamcs:yamcs-core to one of 5.13.2, 5.12.8 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-55559?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/yamcs/yamcs/security/advisories/GHSA-73mf-m39p-wpm9>
- patch: <https://github.com/yamcs/yamcs/commit/549f295cf8c5496a5e799d6bec2432ef976c82aa>
- patch: <https://github.com/yamcs/yamcs/commit/7192da1c49bdf5ab1d72e579a47766a7c43e87c8>
- other: <https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.8>
- other: <https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.2>
- other: <https://github.com/yamcs/yamcs>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55559>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-73mf-m39p-wpm9> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-55559> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55559>
