Yamcs
Yamcs: Authenticated RCE via StreamSQL aggregate-compiler column-name injection in Yamcs `executeSql`
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.12.8
- >= 5.13.0, < 5.13.2
Fixed in 5.12.8, 5.13.2
Mitigation
Upgrade yamcs to 5.12.8 or 5.13.2 or later.
References
- Vendor advisory github.com/yamcs/yamcs/security/advisories/GHS…
- Patch github.com/yamcs/yamcs/commit/8c1070b12c0a6c00…
- Patch github.com/yamcs/yamcs/commit/b65a3d78178ba99a…
2 more
- Release notes github.com/yamcs/yamcs/releases/tag/yamcs-5.12…
- Release notes github.com/yamcs/yamcs/releases/tag/yamcs-5.13…
Timeline
Days relative to CVE publicationFirst public PoC 45 days before publication; not in CISA KEV. First PoC: junfuture1103/CVE-2026-55511 (created 15 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| junfuture1103/CVE-2026-55511 | 15 Jul 2026 −45 d | 1 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.