{"items":[{"id":"NVI-00018595","kind":"vulnerability","title":"Yamcs Vulnerable to Remote Code Execution via Mission Database algorithm override","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-vmwp-vh32-rj75","CVE-2026-46562"],"plain_summary":"GitHub lists this reviewed advisory for org.yamcs:yamcs-core. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-41afc81acd0d24319226432bcd7b73ee"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-05-27T22:45:50.000Z","value":"9.8 critical","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-41afc81acd0d24319226432bcd7b73ee"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-41afc81acd0d24319226432bcd7b73ee","url":"https://github.com/advisories/GHSA-vmwp-vh32-rj75","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-vmwp-vh32-rj75","publisher":"GitHub Advisory Database","observed_at":"2026-11-07T00:53:22.747Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-41afc81acd0d24319226432bcd7b73ee"],"technology":"org.yamcs:yamcs-core","known_exclusions":[],"conditions_summary":"# Remote Code Execution via Mission Database algorithm override\n\n## Summary\n\nThe Nashorn `ScriptEngine` used to evaluate user-supplied algorithm text in `MdbOverrideApi.updateAlgorithm` is constructed without a `ClassFilter`, allowing a user with the `ChangeMissionDatabase` privilege to execute arbitrary Java code on the Yamcs server. In Yamcs's default configuration (no `security.yaml`), the built-in `guest` user has `superuser=true`, so the vulnerability is reachable without authentication.\n\n## Details\n\n**Vulnerable file**: `yamcs-core/src/main/java/org/yamcs/algorithms/ScriptAlgorithmExecutorFactory.java`\n\n```java\n// L46-53  Nashorn engine obtained without a ClassFilter\nScriptEngineFactory factory = scriptEngineManager.getEngineFactories().stream()\n        .filter(candidate -> !JDK_BUILTIN_NASHORN_ENGINE_NAME.equals(candidate.getEngineName())\n                && candidate.getNames().contains(language))\n        .findFirst().orElse(null);\nif (factory != null) {\n    scriptEngine = factory.getScriptEngine();          // ← ClassFilter not supplied\n}\n\n// L109  user-supplied algorithm text reaches eval()\nscriptEngine.eval(functionScript);\n```\n\n`NashornScriptEngineFactory.getScriptEngine","public_affected_ranges":["< 5.12.7"]}],"null_published_at":"2026-11-07T07:07:39.860Z","source_updated_at":"2026-05-27T22:45:50.000Z","source_disclosed_at":"2026-05-27T22:45:49.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-07T00:53:22.747Z"}],"next_cursor":null,"snapshot_revision":"42594"}