{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.12.8"
              },
              {
                "introduced": "5.13.0"
              },
              {
                "fixed": "5.13.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "8bf5af6fe227bbf8ead15e60644b7ddbf345d623"
            },
            {
              "fixed": "144335f15d7730d7fc833122c8c8a6f1906fea9f"
            },
            {
              "fixed": "50d73a44d136f0dd2828fa11f69f1fe1fc5583f7"
            },
            {
              "fixed": "640e1598b7097b521692e89dd47a39b6cb1fc663"
            },
            {
              "fixed": "a8fb4a0693fa62a6eb729b26016d1090dd8b289c"
            }
          ],
          "repo": "https://github.com/yamcs/yamcs",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c64q-hj4j-375f"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55565.json"
  },
  "details": "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.",
  "id": "CVE-2026-55565",
  "modified": "2026-08-30T03:31:00.099994829Z",
  "published": "2026-08-28T17:29:56.768Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.8"
    },
    {
      "type": "WEB",
      "url": "https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55565.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/yamcs/yamcs/security/advisories/GHSA-c64q-hj4j-375f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55565"
    },
    {
      "type": "FIX",
      "url": "https://github.com/yamcs/yamcs/commit/640e1598b7097b521692e89dd47a39b6cb1fc663"
    },
    {
      "type": "FIX",
      "url": "https://github.com/yamcs/yamcs/commit/a8fb4a0693fa62a6eb729b26016d1090dd8b289c"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Yamcs: Authenticated remote code execution via unescaped StreamSQL `LIKE` pattern compiled by Janino (`LikeExpression`)"
}