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 allows an attacker to access:
* /api/logs to stream real-time pod logs
* /api/enter to open an interactive shell inside the running pod
* /api/command to execute pre-defined pipeline commands
Versions 6.3.21 and above are patched.
gorilla/websocket CheckOrigin documentation
Devspace is no longer publishing to NPM or Yarn, please continue to use our other installation methods to get updates in the future, including this patch.
DevSpace thanks @b0b0haha for finding and reporting this vulnerability.
{
"github_reviewed_at": "2026-05-06T17:05:57Z",
"nvd_published_at": "2026-05-14T16:16:21Z",
"cwe_ids": [
"CWE-200",
"CWE-306"
],
"severity": "HIGH",
"github_reviewed": true
}