{"id":"GHSA-2m57-xxmh-v696","summary":"Eclipse Theia: SSRF and internal response disclosure via request-service RPC","details":"### Impact\nA client that can reach the standard browser-facing `/services` messaging endpoint can invoke the `/services/request-service` RPC with an attacker-controlled URL. The Theia backend performs the HTTP request server-side via `BackendRequestFacade` (`packages/core/src/node/request/backend-request-facade.ts`) and returns the full response body, base64-encoded via `RequestContext.compress`, back to the caller.\n\nBecause the destination URL is neither validated nor allowlisted, this is a classic Server-Side Request Forgery (SSRF). In deployments where the Theia service connection is reachable by untrusted users, a remote attacker can:\n\n- Send HTTP requests to `localhost` or other backend-reachable hosts that are intentionally not exposed to the browser network boundary.\n- Read responses from internal HTTP endpoints (administrative interfaces, cloud instance metadata services, internal APIs, etc.).\n- Probe internal network topology by observing response status codes and timing.\n\nThe vulnerability is reachable through the standard Theia frontend/backend connection; no special configuration is required for the affected RPC to be exposed.\n\n**Who is impacted:** Any Theia-based product or deployment where the backend's `/services` connection is reachable by users who should not be able to send arbitrary HTTP requests from the backend host (for example, multi-tenant or publicly-reachable Theia deployments, or single-user deployments where the backend port is exposed).\n\n### Workarounds\n\nUntil a patched release is available, deployers can mitigate exposure by some combination of:\n\n- **Restrict network access to the Theia backend.** Do not expose the backend port to untrusted networks; place it behind authentication or a trusted reverse proxy.\n- **Block the RPC at the proxy layer.** If a reverse proxy is in front of Theia, reject or filter messages targeting the `/services/request-service` path on the websocket/JSON-RPC channel.\n- **Treat all users with access to the Theia connection as trusted.** This vulnerability is most impactful in multi-tenant or anonymous-access deployments; single-user local development is lower risk.\n- **Run the Theia backend with restricted egress.** Use host- or network-level firewall rules to deny the backend process outbound access to localhost and internal subnets.\n\n### Resources\n\n- Affected code:\n  - `packages/core/src/node/backend-application-module.ts` (registers the `/services/request-service` connection handler)\n  - `packages/core/src/node/request/backend-request-facade.ts` (`BackendRequestFacade.request` forwards the caller-supplied URL without validation)\n  - `dev-packages/request/src/common-request-service.ts` (defines `REQUEST_SERVICE_PATH` and the `RequestService` interface)\n  - `packages/core/src/browser/frontend-application-module.ts` and `packages/core/src/browser/request/browser-request-service.ts` (frontend side that exercises the same RPC)\n- CWE-918: \u003chttps://cwe.mitre.org/data/definitions/918.html\u003e\n\n### Credits\n\nJoint disclosure. Credit all five reporters:\n\n* ziyue0530@gmail.com (Ziyue), [https://zyy0530.github.io/](https://zyy0530.github.io/), GH user [Zyy0530](https://github.com/Zyy0530)\n* 2459406270@qq.com (Chenchen), [https://7thparkk.github.io/](https://7thparkk.github.io/), GH user [7thParkk](https://github.com/7thParkk)\n* cshe0476@uni.sydney.edu.au (Strick), [https://str1ckl4nd.github.io/](https://str1ckl4nd.github.io/), GH user [Str1ckl4nd](https://github.com/Str1ckl4nd)\n* liyi.zhou@sydney.edu.au (Liyi), [https://lzhou1110.github.io/](https://lzhou1110.github.io/), GH user [lzhou1110](https://github.com/lzhou1110)\n* chng0012@uni.sydney.edu.au (Maurice), [http://maurice.busystar.org/](http://maurice.busystar.org/), GH user [mauriceng98](https://github.com/mauriceng98)","aliases":["CVE-2026-10055"],"modified":"2026-12-03T01:30:03.250236571Z","published":"2026-12-03T01:14:23Z","database_specific":{"cwe_ids":["CWE-200","CWE-918"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-12-03T01:14:23Z","nvd_published_at":"2026-07-03T11:16:27Z"},"references":[{"type":"WEB","url":"https://github.com/eclipse-theia/theia/security/advisories/GHSA-2m57-xxmh-v696"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10055"},{"type":"WEB","url":"https://github.com/eclipse-theia/theia/commit/1635004f996d7a50fa7fb758563c29a63b900f2d"},{"type":"PACKAGE","url":"https://github.com/eclipse-theia/theia"},{"type":"WEB","url":"https://github.com/eclipse-theia/theia/releases/tag/v1.73.0"}],"affected":[{"package":{"name":"@theia/core","ecosystem":"npm","purl":"pkg:npm/%40theia/core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.26.0"},{"fixed":"1.73.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-2m57-xxmh-v696/GHSA-2m57-xxmh-v696.json"}},{"package":{"name":"@theia/request","ecosystem":"npm","purl":"pkg:npm/%40theia/request"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.26.0"},{"fixed":"1.73.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-2m57-xxmh-v696/GHSA-2m57-xxmh-v696.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N"}]}