{"id":"CVE-2026-42283","aliases":["CVE-2026-42283","GHSA-hqwm-7x7x-8379","GO-2026-5433"],"related":[],"kind":"vulnerability","state":"published","title":"DevSpace UI Server WebSocket CheckOrigin does not validate source","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Description\n\nDevSpace'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: \n* `/api/logs` to stream real-time pod logs\n* `/api/enter` to open an interactive shell inside the running pod\n* `/api/command` to execute pre-defined pipeline commands\n\n### Patches\n\nVersions 6.3.21 and above are patched.\n\n### Resources\n\n[gorilla/websocket CheckOrigin documentation](https://pkg.go.dev/github.com/gorilla/websocket#hdr-Origin_Considerations)\n\n### Installation Options\n\nDevspace is no longer publishing to NPM or Yarn, please continue to use our [other installation methods](https://www.devspace.sh/docs/getting-started/installation) to get updates in the future, including this patch.\n\n### Credit\n\nDevSpace thanks @b0b0haha for finding and reporting this vulnerability.","format":"markdown","source":"ghsa"},{"lang":"en","text":"DevSpace UI Server WebSocket CheckOrigin does not validate source in github.com/loft-sh/devspace.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/loft-sh/devspace from v6.3.20 before v6.3.21.","format":"markdown","source":"go"},{"lang":"es","text":"DevSpace es una herramienta para desarrolladores, solo para cliente, para el desarrollo nativo en la nube con Kubernetes. Antes de la 6.3.21, el WebSocket del servidor de UI de DevSpace acepta conexiones de todos los orígenes por defecto, y por lo tanto, varios puntos finales están expuestos a través de este WebSocket. Cuando un desarrollador ejecuta la UI de DevSpace y al mismo tiempo usa un navegador para acceder a internet, un sitio web malicioso que visiten puede usar su navegador para establecer una conexión WebSocket de origen cruzado a ws://127.0.0.1:8090. Esta vulnerabilidad está corregida en la 6.3.21.","source":"nvd"}],"published":"2026-05-06T17:05:57.000Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-200","CWE-306"],"affected":[{"ranges":[{"version":"< 6.3.21","status":"affected"}],"vendor":"devspace-sh","product":"devspace","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.3.20","status":"affected","fixed":"6.3.21"}],"ecosystem":"Go","package":"github.com/loft-sh/devspace","purl":"pkg:golang/github.com/loft-sh/devspace","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/loft-sh/devspace","purl":"pkg:golang/github.com/loft-sh/devspace","source":"go"},{"ranges":[{"status":"affected","version":"6.3.20"}],"vendor":"devspace","product":"devspace","cpe":"cpe:2.3:a:devspace:devspace:6.3.20:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/devspace-sh/devspace/security/advisories/GHSA-hqwm-7x7x-8379","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42283","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/devspace-sh/devspace","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-16T00:36:03.485Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42283","url":"https://www.cve.org/CVERecord?id=CVE-2026-42283","licence":"CVE Terms of Use","modified":"2026-05-16T00:36:17.542Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hqwm-7x7x-8379","url":"https://github.com/advisories/GHSA-hqwm-7x7x-8379","licence":"CC-BY-4.0","modified":"2026-06-25T23:11:34.563Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5433","url":"https://pkg.go.dev/vuln/GO-2026-5433","licence":"CC-BY-4.0","modified":"2026-06-25T23:01:09.358Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42283","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42283","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.716Z","epss":{"score":0.00152,"percentile":0.04567,"date":"2026-12-01T12:00:22.000Z"}}