Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.yamcs/yamcs-core
  4. ›
  5. CVE-2026-55565

CVE-2026-55565: Yamcs vulnerable to authenticated remote code execution via unescaped StreamSQL `LIKE` pattern compiled by Janino (`LikeExpression`)

August 28, 2026

Yamcs compiles StreamSQL query expressions to Java at runtime with Janino. The LIKE operator inserts the user-supplied pattern into the generated Java unescaped, inside a "..." literal, so a pattern containing " breaks out and injects arbitrary Java (e.g. a static{} block that runs an OS command when the compiled filter class loads). Result: RCE as the OS user running Yamcs.

The pattern is embedded raw whether it comes from a SQL string literal or a bound ? argument, so the sink is reachable from any endpoint that builds a LIKE from user input, at routine read-only privileges, not just executeSql:

  • POST /api/archive/{instance}:executeSql and :streamSql (privilege ControlArchiving)
  • POST /api/archive/{instance}/tables/{table}:readRows via the query field (privilege ReadTables)
  • GET /api/archive/{instance}/events?q= and the event export/stream variants (privilege ReadEvents)
  • listActivities q (privilege ReadActivities)

The Events page search box feeds q directly.

Independent of the May-2026 algorithm-override RCEs (CVE-2026-46562/46621/44632): it needs none of ChangeMissionDatabase and is not affected by the overrideAlgorithmsEnabled gate.

References

  • github.com/advisories/GHSA-c64q-hj4j-375f
  • github.com/yamcs/yamcs/commit/640e1598b7097b521692e89dd47a39b6cb1fc663
  • github.com/yamcs/yamcs/commit/a8fb4a0693fa62a6eb729b26016d1090dd8b289c
  • github.com/yamcs/yamcs/releases/tag/yamcs-5.12.8
  • github.com/yamcs/yamcs/releases/tag/yamcs-5.13.2
  • github.com/yamcs/yamcs/security/advisories/GHSA-c64q-hj4j-375f
  • nvd.nist.gov/vuln/detail/CVE-2026-55565

Code Behaviors & Features

Detect and mitigate CVE-2026-55565 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.12.8, all versions starting from 5.13.0 before 5.13.2

Fixed versions

  • 5.12.8
  • 5.13.2

Solution

Upgrade to versions 5.12.8, 5.13.2 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.yamcs/yamcs-core/CVE-2026-55565.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 29 Aug 2026 00:18:29 +0000.