Vulnerabilities in pkg:golang/github.com/loft-sh/devspace
PACKAGECVE-2026-42283 is a HIGH (CVSS 7.7) remote code execution vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Github.com/loft sh/devspace libraries in the Go ecosystem. The issue involves devspace ui server websocket checkorigin does not validate source. Remediation is available by upgrading affected packages to version 6.3.21.
pkg:golang/github.com/loft-sh/devspace
Vulnerability advisories affecting package pkg:golang/github.com/loft-sh/devspace. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-hqwm-7x7x-8379 | CVE-2026-42283 | HIGH | DevSpace UI Server WebSocket CheckOrigin does not validate source |
| GHSA-6h8c-gw33-cjm2 | CVE-2020-15391 | CRITICAL | DevSpace vulnerable to remote code execution |
CVE-2026-42283 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2026-42283
To remediate this vulnerability, upgrade all affected Github.com/loft sh/devspace dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/loft-sh/devspace to 6.3.21
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/loft-sh/devspace
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-42283, inspect your project dependencies for Github.com/loft sh/devspace:
inspect dependencies for github.com/loft-sh/devspace
Analyze the terminal output to locate any version of Github.com/loft sh/devspace in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.3.21), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Github.com/loft sh/devspace, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-42283 Affected Github.com/loft sh/devspace Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/loft-sh/devspace
|
Go |
≥ 6.3.20
< 6.3.21
All 1 versions
6.3.20
|
6.3.21
|
References
Frequently Asked Questions
What is CVE-2026-42283?
Which Github.com/loft sh/devspace versions are affected?
What version fixes CVE-2026-42283?
Is github.com/loft-sh/devspace affected?
What is the CVSS score of CVE-2026-42283?
What CWE is associated with CVE-2026-42283?
How can I check Go dependencies for CVE-2026-42283?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hqwm-7x7x-8379",
"modified" : "2026-05-14T20:51:39Z",
"published" : "2026-05-06T17:05:57Z",
"aliases" : [ "CVE-2026-42283" ],
"summary" : "DevSpace UI Server WebSocket CheckOrigin does not validate source",
"details" : "### 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/loft-sh/devspace"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.3.20"
}, {
"fixed" : "6.3.21"
} ]
} ],
"versions" : [ "6.3.20" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/devspace-sh/devspace/security/advisories/GHSA-hqwm-7x7x-8379"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42283"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/devspace-sh/devspace"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-306" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-06T17:05:57Z",
"nvd_published_at" : "2026-05-14T16:16:21Z"
}
}