{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-46562", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "state": "PUBLISHED", "assignerShortName": "GitHub_M", "dateReserved": "2026-05-14T20:42:31.370Z", "datePublished": "2026-07-16T16:06:39.148Z", "dateUpdated": "2026-07-16T18:02:19.337Z" }, "containers": { "cna": { "title": "Yamcs: Remote Code Execution via Mission Database algorithm override", "problemTypes": [ { "descriptions": [ { "cweId": "CWE-94", "lang": "en", "description": "CWE-94: Improper Control of Generation of Code ('Code Injection')", "type": "CWE" } ] }, { "descriptions": [ { "cweId": "CWE-95", "lang": "en", "description": "CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')", "type": "CWE" } ] }, { "descriptions": [ { "cweId": "CWE-470", "lang": "en", "description": "CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')", "type": "CWE" } ] } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" } } ], "references": [ { "name": "https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75" }, { "name": "https://github.com/yamcs/yamcs/commit/3c550348f866af4675d2ba4a51d8d12b7c7c6011", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/yamcs/yamcs/commit/3c550348f866af4675d2ba4a51d8d12b7c7c6011" }, { "name": "https://github.com/yamcs/yamcs/commit/4ff8fda642ea8c3309a4d3f379aa77b763148992", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/yamcs/yamcs/commit/4ff8fda642ea8c3309a4d3f379aa77b763148992" }, { "name": "https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.7", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.7" }, { "name": "https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.0", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.0" } ], "affected": [ { "vendor": "yamcs", "product": "yamcs", "versions": [ { "version": "< 5.12.7", "status": "affected" } ] } ], "providerMetadata": { "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2026-07-16T16:06:39.148Z" }, "descriptions": [ { "lang": "en", "value": "Yamcs is a mission control framework. Prior to 5.12.7, the Nashorn ScriptEngine used to evaluate user-supplied JavaScript algorithm text in yamcs-core/src/main/java/org/yamcs/algorithms/ScriptAlgorithmExecutorFactory.java was constructed without a ClassFilter, so a user with the ChangeMissionDatabase privilege could override an algorithm through the MdbOverrideApi.updateAlgorithm endpoint and supply JavaScript that reaches arbitrary Java classes (for example Java.type(\"java.lang.Runtime\").getRuntime().exec(...)) to execute arbitrary OS commands as the Yamcs process; in the default configuration with no security.yaml the built-in guest user has superuser=true, making the issue reachable without authentication. This issue is fixed in versions 5.12.7 and 5.13.0, which disable algorithm editing by default." } ], "source": { "advisory": "GHSA-vmwp-vh32-rj75", "discovery": "UNKNOWN" } }, "adp": [ { "references": [ { "url": "https://github.com/yamcs/yamcs/security/advisories/GHSA-vmwp-vh32-rj75", "tags": [ "exploit" ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-07-16T18:01:46.175576Z", "id": "CVE-2026-46562", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-07-16T18:02:19.337Z" } } ] } }