Vulnerability · Published Aug 28, 2026 · Assigned by GitHub_M
CVE-2026-55565Yamcs: Authenticated remote code execution via unescaped StreamSQL `LIKE` pattern compiled by Janino (`LikeExpression`)
Critical 9.9
In plain English
A critical-severity code injection in yamcs from yamcs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Yamcs is a mission control framework. Prior to 5.12.8 and 5.13.2, Yamcs LikeExpression.fillCode_getValueReturn in yamcs-core/src/main/java/org/yamcs/yarch/streamsql/LikeExpression.java inserts an unescaped LIKE pattern into Java source compiled by Expression.getCompiledExpression through SimpleCompiler.cook instead of applying ValueExpression.escapeJavaString. The pattern can originate from POST /api/archive/{instance}:executeSql, POST /api/archive/{instance}:streamSql, POST /api/archive/{instance}/tables/{table}:readRows, GET /api/archive/{instance}/events, or activity searches, including paths available with ReadTables, ReadEvents, or ReadActivities. A quote in the pattern can inject Java that runs as the Yamcs server process. This issue is fixed in versions 5.12.8 and 5.13.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.yamcs:yamcs-core | 5.13.2 | GHSA-c64q-hj4j-375f |
| Maven | org.yamcs:yamcs-core | 5.12.8 | GHSA-c64q-hj4j-375f |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/yamcs/yamcs/security/advisories/GHSA-c64q-hj4j-375f x_refsource_CONFIRM
- https://github.com/yamcs/yamcs/commit/640e1598b7097b521692e89dd47a39b6cb1fc663 x_refsource_MISC
- https://github.com/yamcs/yamcs/commit/a8fb4a0693fa62a6eb729b26016d1090dd8b289c x_refsource_MISC
- https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.8 x_refsource_MISC
- https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.2 x_refsource_MISC