{"schemaVersion":3,"id":"CVE-2023-26114","aliases":["CGA-3qmc-7888-9chc","CGA-gj29-p83p-mf23","CGA-jg5m-427c-gr7x","CGA-wv7m-m9cc-4w6w","GHSA-frjg-g767-7363"],"status":"published","duplicateOf":null,"title":null,"description":"Versions of the package code-server before 4.10.1 are vulnerable to Missing Origin Validation in WebSockets handshakes. Exploiting this vulnerability can allow an adversary in specific scenarios to access data from and connect to the code-server instance.","dates":{"published":"2023-03-23T05:00:01.220Z","modified":"2025-02-25T19:30:08.466Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L/E:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L/E:P","exploitability":4.1,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":9.3,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","exploitability":7.2,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L/E:P","exploitability":4.1,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.3,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0034,"percentile":0.25918,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0034},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0034,"percentile":0.25918}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0034,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0034,"percentile":0.25918}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1385","name":"Missing Origin Validation in WebSockets","description":"The product uses a WebSocket, but it does not properly verify that the source of data or communication is valid.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1385.html"},{"id":"CWE-346","name":"Origin Validation Error","description":"The product does not properly verify that the source of data or communication is valid.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/346.html"}],"affected":[{"vendor":"chainguard","product":"code-server","name":"code-server","label":"code-server","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/code-server","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"code-server-compat","name":"code-server-compat","label":"code-server-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/code-server-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"code-server","name":"code-server","label":"code-server","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/code-server","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"code-server-compat","name":"code-server-compat","label":"code-server-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/code-server-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"coder","product":"code-server","name":"code-server","label":"code-server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.10.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.1","eol":null,"hubHref":"/vendor/coder/code-server"},{"vendor":"Npm","product":"code-server","name":"code-server","label":"code-server","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/code-server","purlType":"npm","versions":[{"text":"< 4.10.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-CODESERVER-3368148","label":"security.snyk.io/vuln/SNYK-JS-CODESERVER-3368148","hostname":"security.snyk.io","tags":["WEB","Patch"]},{"url":"https://github.com/coder/code-server/commit/d477972c68fc8c8e8d610aa7287db87ba90e55c7","label":"github.com/coder/code-server/commit/d477972c68fc8c8e8d610aa7287db87ba90e55c7","hostname":"github.com","tags":["FIX","WEB","Patch"]},{"url":"https://github.com/coder/code-server/releases/tag/v4.10.1","label":"github.com/coder/code-server/releases/tag/v4.10.1","hostname":"github.com","tags":["WEB","Release Notes"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26114.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26114.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26114","label":"nvd.nist.gov/vuln/detail/CVE-2023-26114","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/coder/code-server","label":"github.com/coder/code-server","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-MJ3M-XRM9-QV7G"]},"timeline":[{"kind":"published","date":"2023-03-23T05:00:01.220Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-25T19:30:08.466Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:43:44.684Z","stale":false,"partial":false}}