CVE-2026-114278

Unauthenticated Command Injection via kubeconfig Username in che-machine-exec

Published Oct 28, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
The che-machine-exec service constructs a shell command by concatenating user-controlled input (the username and namespace fields from the /exec/init and /exec/config JSON endpoints) into a double-quoted sh -c "echo "..." > ..." invocation without any escaping. When che-machine-exec is run with authentication disabled (its default), any network-reachable attacker can achieve remote code execution in containers che-machine-exec is configured to access, via shell command substitution ($(...) or backticks).

Analysis

AI-generated

Technical impact

The che‑machine‑exec service builds a shell command by concatenating username and namespace values supplied to its /exec/init and /exec/config JSON endpoints into a double‑quoted sh -c "echo \"…\" > …" invocation without performing any escaping. This allows an attacker to inject arbitrary shell commands that are executed with the privileges of the service, resulting in remote code execution on the containers that che‑machine‑exec is permitted to access.

Affected Systems

Eclipse Che, specifically the che‑machine‑exec component. Any deployment that runs this component with authentication disabled – its default setting – is vulnerable.

Risk and Exploitability

The CVSS score of 9.8 classifies it as a critical vulnerability. EPSS data is not available, and it is not listed in CISA’s KEV catalog. Because authentication is disabled by default, an attacker can reach the vulnerable endpoints from any network location with which the service is reachable, inject commands via the username or namespace fields, and achieve remote code execution on the target containers.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch from commit a78541c29e5f48fd59a49cf206bc0e507628bd23 to eliminate unsanitized shell command construction.
  • Enable authentication for che‑machine‑exec to prevent unauthenticated access to /exec/init and /exec/config endpoints.
  • Restrict network exposure of the che‑machine‑exec service by configuring firewall rules or ingress resources to limit access to trusted hosts.
  • Validate or sanitize all user‑controlled input before constructing shell commands, ensuring that usernames and namespace values cannot inject additional commands.

Generated by OpenCVE AI on October 28, 2026 at 13:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Eclipse
Eclipse eclipse Che
Vendors & Products Eclipse
Eclipse eclipse Che
Type Values Removed Values Added
Description The che-machine-exec service constructs a shell command by concatenating user-controlled input (the username and namespace fields from the /exec/init and /exec/config JSON endpoints) into a double-quoted sh -c "echo "..." > ..." invocation without any escaping. When che-machine-exec is run with authentication disabled (its default), any network-reachable attacker can achieve remote code execution in containers che-machine-exec is configured to access, via shell command substitution ($(...) or backticks).
Title Unauthenticated Command Injection via kubeconfig Username in che-machine-exec
Weaknesses CWE-78
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Nov 5, 2026, 6:25 PM
Reserved
Oct 21, 2026, 7:46 AM
Status
Deferred
Published
Oct 28, 2026, 12:17 PM
Modified
Nov 5, 2026, 7:17 PM
Severity
Important
Public date
Oct 28, 2026, 11:55 AM