{
  "id": "CVE-2026-55565",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55565",
  "published_at": "2026-08-28T17:29:56.768Z",
  "title": "Yamcs: Authenticated remote code execution via unescaped StreamSQL `LIKE` pattern compiled by Janino (`LikeExpression`)",
  "vendor": "yamcs",
  "product": "yamcs",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.9
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "yamcs",
        "product": "yamcs",
        "ranges": [
          "\u003c 5.12.8",
          "\u003e= 5.13.0, \u003c 5.13.2"
        ],
        "fixed_in": [
          "5.12.8",
          "5.13.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade yamcs to 5.12.8 or 5.13.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/yamcs/yamcs/security/advisories/GHSA-c64q-hj4j-375f"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/yamcs/yamcs/commit/640e1598b7097b521692e89dd47a39b6cb1fc663"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/yamcs/yamcs/commit/a8fb4a0693fa62a6eb729b26016d1090dd8b289c"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.8"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
