ZeroHour

CVE-2026-55565

niche

Java Code Injection RCE in Yamcs Mission Control Framework

CVSS 3.1
9.9 critical
EPSS
<1%p38
Published
()
Modified
AI analysis

Yamcs, an open-source mission control framework used for spacecraft and ground-segment operations, inserts an unescaped LIKE pattern into Java source code that it compiles and executes at runtime, allowing a quote character in the pattern to inject arbitrary Java (CWE-94). The flaw is reachable through the archive SQL endpoints (POST /api/archive/{instance}:executeSql, POST /api/archive/{instance}:streamSql, POST /api/archive/{instance}/tables/{table}:readRows), the events search endpoint (GET /api/archive/{instance}/events), and activity searches, and requires only low privileges such as ReadTables, ReadEvents, or ReadActivities. By embedding a quote in a LIKE pattern supplied via one of these endpoints, an attacker can execute code with the privileges of the Yamcs server process, with high impact on confidentiality, integrity, and availability (CVSS 9.9). All deployments running versions prior to 5.12.8 or prior to 5.13.2 are affected. As of now there is no evidence of exploitation in the wild, no known public proof-of-concept, and the issue is not in CISA's KEV; EPSS estimates a 0.5% probability of exploitation within 30 days.

What to do: Upgrade Yamcs to 5.12.8 or 5.13.2 as soon as possible. Until patched, restrict the affected archive SQL, table-read, events, and activity-search API endpoints to trusted authenticated accounts, and review which users hold ReadTables, ReadEvents, or ReadActivities permissions. Prioritize patching any Yamcs instances exposed to untrusted networks, since the flaw is network-reachable with low privileges and full RCE impact.

Affected
Yamcs (open-source project, yamcs-core) Yamcs mission control frameworkAll versions prior to 5.12.8 and prior to 5.13.2; fixed in 5.12.8 and 5.13.2
Estimated exposure
nichelikely on the order of hundreds to a few thousand deployments worldwide — Yamcs is a specialized open-source mission control framework used mainly by space agencies, satellite operators, and ground-segment integrators; no public install counts or exposure scans exist, so this order-of-magnitude estimate reflects…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-94
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.