Security advisory
An issue was discovered in Gitpod versions prior to release-2022.11.2.16. There is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability that allows attackers to make WebSocket connections to the Gitpod JSONRPC server using a victim’s credentials, because the Origin header is not restricted. This can lead to the extraction of data from workspaces, to a full takeover of the workspace.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-0957
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 20:12 UTC · Revision 1
Source evidence
An issue was discovered in Gitpod versions prior to release-2022.11.2.16. There is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability that allows attackers to make WebSocket connections to the Gitpod JSONRPC server using a victim’s credentials, because the Origin header is not restricted. This can lead to the extraction of data from workspaces, to a full takeover of the workspace.
osv:CVE-2023-0957
Complete source record
{
"id": "f6fde53687cdfc42bf31e92e3db941bdede4b0937f63dcce6a2df7a7e8194e59",
"url": "https://osv.dev/vulnerability/CVE-2023-0957",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2023-0957",
"summary": "An issue was discovered in Gitpod versions prior to release-2022.11.2.16. There is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability that allows attackers to make WebSocket connections to the Gitpod JSONRPC server using a victim’s credentials, because the Origin header is not restricted. This can lead to the extraction of data from workspaces, to a full takeover of the workspace.",
"evidence": "osv:CVE-2023-0957",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-0957",
"aliases": [
"CVE-2023-0957"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gitpod-io/gitpod",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "72e822c8dbc247382ff1e02032dec2231fe89698"
},
{
"fixed": "12956988eec0031f42ffdfa3bdc3359f65628f9f"
},
{
"fixed": "673ab6856fa04c13b7b1f2a968e4d090f1d94e4f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitpod:gitpod:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2022.11.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "12956988eec0031f42ffdfa3bdc3359f65628f9f"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "673ab6856fa04c13b7b1f2a968e4d090f1d94e4f"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "72e822c8dbc247382ff1e02032dec2231fe89698"
}
],
"source": "REFERENCES_TAG",
"original_tag": "release-2022.11.2"
}
]
}
}
],
"versions": [
"2022.11.1",
"2022-11-1-rc1",
"2022.11.1-rc0",
"2022.11.0",
"2022.11.0-rc0",
"2022.05.0-rc1",
"2022.05.0",
"2022.04.0-rc0",
"2022.03.0-rc0",
"2022.03.0",
"2022.02.0-rc1",
"v0.10.0-nightly",
"v0.9.0-alpha1",
"poolkeeper-v1.0.0",
"0.6.0",
"v0.6.0-beta3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-0957.json"
}
}
],
"modified": "2026-10-28T02:30:39.042745362Z",
"provider": "osv",
"references": [
"https://app.safebase.io/portal/71ccd717-aa2d-4a1e-942e-c768d37e9e0c/preview?product=default&orgId=71ccd717-aa2d-4a1e-942e-c768d37e9e0c&tcuUid=1d505bda-9a38-4ca5-8724-052e6337f34d",
"https://github.com/gitpod-io/gitpod/releases/tag/release-2022.11.2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0957.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-0957",
"https://github.com/gitpod-io/gitpod/commit/12956988eec0031f42ffdfa3bdc3359f65628f9f",
"https://github.com/gitpod-io/gitpod/commit/673ab6856fa04c13b7b1f2a968e4d090f1d94e4f",
"https://github.com/gitpod-io/gitpod/pull/16378",
"https://github.com/gitpod-io/gitpod/pull/16405",
"https://snyk.io/blog/gitpod-remote-code-execution-vulnerability-websockets/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1385"
],
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0957.json"
}
},
"related_cves": [
{
"value": "CVE-2023-0957",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 506550,
"published_at": "2023-03-03T07:00:41.041+00:00"
}