This module exploits an unauthenticated remote code execution vulnerability in the Eclipse Che machine-exec service (CVE-2025-12548). The machine-exec service, exposed on port 3333 within Red Hat OpenShift DevSpaces developer workspace containers, accepts WebSocket connections without authentication. An attacker can connect to the machine-exec service and execute arbitrary commands via JSON-RPC over WebSocket. This allows lateral movement between workspaces and potential cluster compromise. The vulnerability affects Red Hat OpenShift DevSpaces environments where the machine-exec service is network-accessible.
Exploit database
Vulnerability
CVE-2025-12548
Github.com/che-incubator/che-code: eclipse che — unauthenticated rce and secret exfiltration via tcp/3333
Vulnerability details
- Score
- 9.0
- Severity
- critical
CVSS 3.1 · redhat
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HDescription
A flaw was found in Eclipse Che che-machine-exec. This vulnerability allows unauthenticated remote arbitrary command execution and secret exfiltration (SSH keys, tokens, etc.) from other users' Developer Workspace containers, via an unauthenticated JSON-RPC / websocket API exposed on TCP port 3333.
CVE ProgramExploit source choices
1 sourceEclipse Che machine-exec Unauthenticated RCE
2025-12-01eclipse_che_machine_exec_rce.rb