Paper/Archive/CVE-2026-55511

CVE-2026-55511

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

Description · from the CVE record

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

ProductAffectedFixed inSource
yamcs< 5.12.8–CNA
yamcs>= 5.13.0, < 5.13.2–CNA

Scores by source

GitHub_M (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

exploitgithub.com/yamcs/yamcs/security/advisories/GHSA-3g44-3m7x-cgg2refgithub.com/yamcs/yamcs/commit/8c1070b12c0a6c003903325cb2a1013347e2dbderefgithub.com/yamcs/yamcs/commit/b65a3d78178ba99a58b753feda6ecc3b5a694f13refgithub.com/yamcs/yamcs/releases/tag/yamcs-5.12.8refgithub.com/yamcs/yamcs/releases/tag/yamcs-5.13.2