Skip to main content
← All vulnerabilities
CVE-2026-55559GHSA-73MF-M39P-WPM9

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.12.8, 5.13.2
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • yamcs yamcs

    fixed in 5.12.8; From 5.13.0 · fixed in 5.13.2

  • org.yamcs:yamcs-coreMaven

    From 5.13.0 · fixed in 5.13.2

  • org.yamcs:yamcs-coreMaven

    fixed in 5.12.8

References 6

GitHub · yamcs/yamcs

GitHub · MRdark-ops/CVE-2026-55559