Skip to content
Critical 9.8

Code Injection in org.yamcs:yamcs-core

CVE-2026-46562 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

A vulnerability tracked as CVE-2026-46562 has been found in org.yamcs:yamcs-core.
Attackers can target a specific entry point like PATCH /api/mdb/{instance}/{processor}/algorithms/{name over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 9.8/10.
What to do: upgrade org.yamcs:yamcs-core to 5.12.7 or later.
If unsure, ask your IT team or search "org.yamcs:yamcs-core CVE-2026-46562" on the vendor's site.

CVE-2026-46562 (org.yamcs:yamcs-core) — CWE-94 / CVSS v3 9.8
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: PATCH /api/mdb/{instance}/{processor}/algorithms/{name / PATCH /api/mdb-overrides/{instance}/{processor}/algorithms/{name / ScriptEngine / MdbOverrideApi.updateAlgorithm
Patched: 5.12.7 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

Arbitrary code execution (CWE-94) exists in org.yamcs:yamcs-core. Attackers reach the vulnerable code path via PATCH /api/mdb/{instance}/{processor}/algorithms/{name without authentication.

Affected scope

Check the vendor advisory for the affected versions of org.yamcs:yamcs-core. Attack surface: PATCH /api/mdb/{instance}/{processor}/algorithms/{name / PATCH /api/mdb-overrides/{instance}/{processor}/algorithms/{name / ScriptEngine / MdbOverrideApi.updateAlgorithm.

Severity

Severity: Critical (CVSS 9.8/10). Successful exploitation can lead to full system takeover.

How to fix

Update to 5.12.7.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual PATCH /api/mdb/{instance}/{processor}/algorithms/{name requests with malformed payloads or SQL meta-characters. Audit SBOM/dependencies to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで org.yamcs:yamcs-core を使っているサービスとバージョンを洗い出す。

  2. 2
    Hunt for indicators of compromisedetect
    grep 'PATCH /api/mdb/{instance}/{processor}/algorithms/{name' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'

    アクセスログで PATCH /api/mdb/{instance}/{processor}/algorithms/{name への異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。

  3. 3
    Apply patchpatch
    Upgrade org.yamcs:yamcs-core to 5.12.7

    ステージング環境で 5.12.7 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。

  4. 4
    Post-deployment verificationverify
    Replay attack against PATCH /api/mdb/{instance}/{processor}/algorithms/{name on staging to confirm patch closes the vector

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
mavenorg.yamcs:yamcs-core
< 5.12.7→ 5.12.7
Original description The description as published by the source.

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: GitHub Security Advisories (Global) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details