{"id":"CVE-2026-55565","state":"PUBLISHED","title":"Yamcs: Authenticated remote code execution via unescaped StreamSQL `LIKE` pattern compiled by Janino (`LikeExpression`)","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.","publishedAt":"2026-08-28T17:29:56.768Z","updatedAt":"2026-08-31T18:54:38.310Z","severity":{"score":9.9,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["yamcs yamcs"],"affected":[{"vendor":"yamcs","product":"yamcs","versions":[{"version":"< 5.12.8","status":"affected"},{"version":">= 5.13.0, < 5.13.2","status":"affected"}]}],"references":["https://github.com/yamcs/yamcs/security/advisories/GHSA-c64q-hj4j-375f","https://github.com/yamcs/yamcs/commit/640e1598b7097b521692e89dd47a39b6cb1fc663","https://github.com/yamcs/yamcs/commit/a8fb4a0693fa62a6eb729b26016d1090dd8b289c","https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.8","https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.2"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55565.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55565","state":"PUBLISHED","datePublished":"2026-08-28T17:29:56.768Z","dateUpdated":"2026-08-31T18:54:38.310Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-16T23:11:20.214Z"},"containers":{"cna":{"title":"Yamcs: Authenticated remote code execution via unescaped StreamSQL `LIKE` pattern compiled by Janino (`LikeExpression`)","descriptions":[{"lang":"en","value":"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":[{"vendor":"yamcs","product":"yamcs","versions":[{"version":"< 5.12.8","status":"affected"},{"version":">= 5.13.0, < 5.13.2","status":"affected"}]}],"references":[{"url":"https://github.com/yamcs/yamcs/security/advisories/GHSA-c64q-hj4j-375f","name":"https://github.com/yamcs/yamcs/security/advisories/GHSA-c64q-hj4j-375f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/yamcs/yamcs/commit/640e1598b7097b521692e89dd47a39b6cb1fc663","name":"https://github.com/yamcs/yamcs/commit/640e1598b7097b521692e89dd47a39b6cb1fc663","tags":["x_refsource_MISC"]},{"url":"https://github.com/yamcs/yamcs/commit/a8fb4a0693fa62a6eb729b26016d1090dd8b289c","name":"https://github.com/yamcs/yamcs/commit/a8fb4a0693fa62a6eb729b26016d1090dd8b289c","tags":["x_refsource_MISC"]},{"url":"https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.8","name":"https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.2","name":"https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-28T17:29:56.768Z"},"source":{"advisory":"GHSA-c64q-hj4j-375f","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/yamcs/yamcs/security/advisories/GHSA-c64q-hj4j-375f","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-31T18:53:42.698199Z","id":"CVE-2026-55565","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-31T18:54:38.310Z"}}]}}}