Skip to main content
← All vulnerabilities
CVE-2026-55511GHSA-3G44-3M7X-CGG2

Yamcs: Authenticated RCE via StreamSQL aggregate-compiler column-name injection in Yamcs `executeSql`

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: no
  • Technical impact: total

Summary

Yamcs is a mission control framework. Prior to 5.12.8 and 5.13.2, Yamcs allows a user with SystemPrivilege.ControlArchiving to create a double-quoted StreamSQL column name that is interpolated into generated Java source by Expression.fillCode_InputDefVars and Expression.sanitizeName. A sum aggregate reaches yamcs-core/src/main/java/org/yamcs/yarch/streamsql/CompilableAggregateExpression.java and yamcs-core/src/main/java/org/yamcs/yarch/streamsql/funct/SumExpression.java through SelectExpression.compile, where Janino SimpleCompiler.cook compiles the injected source. POST /api/archive/{instance}:executeSql can therefore execute arbitrary Java in the Yamcs server process, exposing mission data and credentials and permitting telemetry tampering or denial of service. This issue is fixed in versions 5.12.8 and 5.13.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · 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 · junfuture1103/CVE-2026-55511