Description
Yamcs is a mission control framework. Prior to 5.12.7, the Yamcs script evaluation engine for Python algorithms dynamically compiled and evaluated user-controlled algorithm text using Jython through the JSR-223 ScriptEngine API without enforcing a secure sandbox, so an authenticated user with the ChangeMissionDatabase privilege could override an existing Python algorithm's logic through the mission database REST API and import and execute arbitrary Java classes such as java.lang.Runtime to achieve remote code execution on the underlying host operating system. This issue is fixed in versions 5.12.7 and 5.13.0, which disable algorithm editing by default.
Published: 2026-07-16
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Yamcs exposes a code injection flaw (CWE‑94) by using Jython to dynamically compile and execute user‑controlled Python algorithm scripts via the JSR‑223 ScriptEngine API without a secure sandbox. Prior to version 5.12.7, an authenticated user with the ChangeMissionDatabase privilege could override an existing algorithm by submitting malicious Python code through the mission database REST API, import arbitrary Java classes such as java.lang.Runtime, and execute commands on the underlying host operating system, thereby achieving remote code execution. The issue is fixed in releases 5.12.7 and 5.13.0, which disable algorithm editing by default.

Affected Systems

The vulnerability affects all installations of Yamcs using the yamcs:yamcs product that are running any release older than 5.12.7, including the 5.12.x series. The fix is delivered in releases 5.12.7 and 5.13.0, where algorithm editing is disabled by default and the insecure script evaluation path is removed.

Risk and Exploitability

With a CVSS score of 9.1, the flaw is classified as critical. It requires valid credentials and the ChangeMissionDatabase privilege, but provides unrestricted code execution once exploit is achieved. The EPSS score is below 1 %, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the REST API to authorize a malicious algorithm that loads Java classes and spawns system‑level processes, effectively compromising the host machine.

Generated by OpenCVE AI on July 31, 2026 at 01:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Patch Yamcs to version 5.12.7 or later, which disables algorithm editing by default.
  • For systems that must remain on an older version temporarily, explicitly disable algorithm editing in the configuration file and restrict the ChangeMissionDatabase privilege to a minimal set of trusted administrators.
  • Audit all algorithm changes and ensure that the mission database REST API is accessible only to authenticated users with appropriate privileges.

Generated by OpenCVE AI on July 31, 2026 at 01:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-2g95-6x5q-xjwj Yamcs Vulnerable to Authenticated Remote Code Execution (RCE) via Jython Algorithm Code Injection
History

Thu, 16 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 16 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Yamcs
Yamcs yamcs
Vendors & Products Yamcs
Yamcs yamcs

Thu, 16 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Description Yamcs is a mission control framework. Prior to 5.12.7, the Yamcs script evaluation engine for Python algorithms dynamically compiled and evaluated user-controlled algorithm text using Jython through the JSR-223 ScriptEngine API without enforcing a secure sandbox, so an authenticated user with the ChangeMissionDatabase privilege could override an existing Python algorithm's logic through the mission database REST API and import and execute arbitrary Java classes such as java.lang.Runtime to achieve remote code execution on the underlying host operating system. This issue is fixed in versions 5.12.7 and 5.13.0, which disable algorithm editing by default.
Title Yamcs: Authenticated Remote Code Execution (RCE) via Jython Algorithm Code Injection
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-16T18:00:50.323Z

Reserved: 2026-05-15T19:34:14.012Z

Link: CVE-2026-46621

cve-icon Vulnrichment

Updated: 2026-07-16T18:00:00.790Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T02:00:05Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')