Skip to content

Eclipse Theia: SSRF and internal response disclosure via request-service RPC

High severity GitHub Reviewed Published Jul 3, 2026 in eclipse-theia/theia • Updated Dec 3, 2026

Package

npm @theia/core (npm)

Affected versions

>= 1.26.0, < 1.73.0

Patched versions

1.73.0
npm @theia/request (npm)
>= 1.26.0, < 1.73.0
1.73.0

Description

Impact

A 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.

Because 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:

  • Send HTTP requests to localhost or other backend-reachable hosts that are intentionally not exposed to the browser network boundary.
  • Read responses from internal HTTP endpoints (administrative interfaces, cloud instance metadata services, internal APIs, etc.).
  • Probe internal network topology by observing response status codes and timing.

The vulnerability is reachable through the standard Theia frontend/backend connection; no special configuration is required for the affected RPC to be exposed.

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).

Workarounds

Until a patched release is available, deployers can mitigate exposure by some combination of:

  • 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.
  • 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.
  • 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.
  • 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.

Resources

  • Affected code:
    • packages/core/src/node/backend-application-module.ts (registers the /services/request-service connection handler)
    • packages/core/src/node/request/backend-request-facade.ts (BackendRequestFacade.request forwards the caller-supplied URL without validation)
    • dev-packages/request/src/common-request-service.ts (defines REQUEST_SERVICE_PATH and the RequestService interface)
    • 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)
  • CWE-918: https://cwe.mitre.org/data/definitions/918.html

Credits

Joint disclosure. Credit all five reporters:

References

@ndoschek ndoschek published to eclipse-theia/theia Jul 3, 2026
Published by the National Vulnerability Database Jul 3, 2026
Published to the GitHub Advisory Database Dec 3, 2026
Reviewed Dec 3, 2026
Last updated Dec 3, 2026

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(24th percentile)

Weaknesses

Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Learn more on MITRE.

Server-Side Request Forgery

The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. Learn more on MITRE.

CVE ID

CVE-2026-10055

GHSA ID

GHSA-2m57-xxmh-v696

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.