CVE-2026-55511: 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.
Security readout for executives and security teams
Plain-English summary
A highly privileged Yamcs user can abuse archive SQL processing to run arbitrary Java inside the server. A successful compromise could expose mission data and credentials, alter telemetry, or disrupt operations. The flaw is critical despite requiring authentication because the resulting code runs with the Yamcs process's authority.
Executive priority
Treat this as an urgent upgrade for affected mission-control environments. Prioritize internet-accessible or broadly reachable systems and those with numerous privileged accounts. Because compromise could affect confidentiality, telemetry integrity, and availability, pair remediation with focused review of privileged access and recent archive API activity.
Technical view
Yamcs improperly interpolates a double-quoted StreamSQL column name into generated Java for aggregate processing. A sum expression can carry the injected source through compilation, where Janino compiles it in the Yamcs server process. The vulnerable network-accessible executeSql API requires SystemPrivilege.ControlArchiving. This is CWE-94 with CVSS 3.1 score 9.1.
Likely exposure
Exposure exists where Yamcs versions below 5.12.8, or versions 5.13.0 through 5.13.1, are deployed and accounts hold SystemPrivilege.ControlArchiving. Risk increases when the archive API is reachable from less-trusted networks or privileged credentials are compromised.
Exploitation context
The supplied sources establish authenticated remote code execution requiring a high-privilege account and no user interaction. They do not establish active exploitation, and the CVE is not identified as being in KEV. Public technical details may still increase attacker awareness.
Researcher notes
The vulnerable path involves Expression.fillCode_InputDefVars, Expression.sanitizeName, aggregate compilation, SumExpression, and Janino SimpleCompiler.cook. The root issue is generated-code injection through an inadequately handled identifier. The source bundle identifies two corrective commits, but does not provide evidence of exploitation in the wild.
Mitigation direction
Upgrade the 5.12 branch to Yamcs 5.12.8 or later.
Upgrade the 5.13 branch to Yamcs 5.13.2 or later.
Review and minimize assignments of SystemPrivilege.ControlArchiving.
Restrict archive API access to trusted administrative networks while upgrades are pending.
Rotate potentially exposed credentials if investigation indicates server compromise.
Validation and detection
Inventory every Yamcs deployment and confirm its exact running version.
Identify all users and service accounts holding SystemPrivilege.ControlArchiving.
Verify upgraded systems report version 5.12.8, 5.13.2, or a later applicable release.
Review executeSql access records for unexpected privileged users, sources, or queries.
Investigate process, telemetry, and credential activity for signs of unauthorized changes.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-94: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-94 · source CWE mapping
Improper Control of Generation of Code ('Code Injection')
Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.