CVE Professor
/
All CVEs
CVE-2026-10055

CVE-2026-10055 — @theia/core — CWE-200 · CWE-918

HIGH CVSS 8.5 ⚡ EPSS 0.3% GitHub

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

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

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity Low I:L
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.3%
30-day probability
In the 24. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a Server-Side Request Forgery (SSRF) flaw in the Theia IDE backend, specifically within the @theia/request and @theia/core packages.

Technical Flaw:
The Theia backend exposes a Remote Procedure Call (RPC) endpoint at /services/request-service. This endpoint is designed to allow the frontend to make HTTP requests on behalf of the user. However, the implementation in BackendRequestFacade (packages/core/src/node/request/backend-request-facade.ts) fails to validate or restrict the destination URL provided by the client.

1. Missing Input Validation: The url parameter passed to the RPC is accepted without any allowlisting, scheme validation (e.g., restricting to http/https), or domain filtering.
2. Server-Side Execution: The backend Node.js process executes the HTTP request using its own network stack. This means the request originates from the server's IP address, bypassing client-side network restrictions.
3. Response Leakage: The full response body is returned to the caller (base64-encoded via RequestContext.compress). This allows an attacker to read the content of internal services that are not directly accessible from the browser.

CWE Mapping:

  • CWE-918 (Server-Side Request Forgery): The primary flaw.

  • CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor): The response body from internal services is exposed to the attacker.
  • CVSS Vector Analysis (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N):

  • PR:L (Privileges Required: Low): The attacker does not need admin rights, but must have a valid user session (authenticated) to access the /services endpoint. In many Theia deployments, any logged-in user can trigger this.

  • S:C (Scope: Changed): The vulnerable component (Theia backend) and the impacted component (internal network services) are different. The attacker escapes the Theia application's security scope to impact other systems.

  • C:H (Confidentiality: High): The attacker can read sensitive data from internal endpoints (e.g., cloud metadata, admin APIs).

  • I:L (Integrity: Low): While primarily a read vulnerability, SSRF can sometimes be leveraged to modify state on internal services if they lack proper authentication or CSRF protections.
  • ⚡ Attack Chain

    1. Discovery & Reconnaissance

  • Identify Theia: The attacker identifies a target running Theia (e.g., Eclipse Che, OpenShift Dev Spaces, or a custom Theia-based IDE). Fingerprinting can be done by checking for Theia-specific assets (e.g., /vscode, /theia, or specific JS bundles) or by observing the /services WebSocket/HTTP endpoint behavior.
  • Authentication: The attacker obtains valid credentials (low-privilege user) or exploits an existing session. Theia typically requires authentication to access the /services endpoint.
  • Endpoint Verification: The attacker confirms the existence of the request-service RPC by sending a benign request to a public URL (e.g., http://example.com) and observing the response.
  • 2. Exploitation

    The attacker sends a crafted RPC request to the /services endpoint. The exact payload structure depends on the Theia version's RPC protocol (typically JSON-RPC over WebSocket or HTTP POST). Below is an illustrative example of the underlying HTTP request logic that the backend executes.

    Illustrative PoC (Conceptual):
    The attacker triggers the request-service RPC with a malicious URL.

    // Conceptual representation of the RPC call from the frontend
    // The attacker controls the 'url' parameter
    const maliciousUrl = "http://169.254.169.254/latest/meta-data/"; // AWS Metadata Service
    const rpcPayload = {
        method: "request",
        params: {
            url: maliciousUrl,
            method: "GET",
            headers: {}
        }
    };
    // This is sent to the /services endpoint via the Theia messaging protocol

    Curl Equivalent (Illustrative):
    Note: The exact HTTP method and headers for the /services endpoint vary by Theia version (WebSocket vs. HTTP POST). The following is a generic representation of the SSRF trigger.

    # Illustrative: Attacker sends a request to the Theia backend's service endpoint
    # The 'url' parameter is the SSRF vector
    curl -X POST "http://<theia-host>:<port>/services/request-service" \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer <valid_user_token>" \
      -d '{
        "url": "http://169.254.169.254/latest/meta-data/iam/security-credentials/",
        "method": "GET"
      }'

    Key Exploitation Mechanics:

  • Cloud Metadata Access: Targeting 169.254.169.254 (AWS), 169.254.169.254 (GCP), or 169.254.169.254 (Azure) to steal IAM credentials.

  • Internal Service Probing: Targeting http://localhost:8080/admin or http://10.0.0.5:9200 (Elasticsearch) to read internal data.

  • Protocol Switching: Depending on the backend's HTTP client configuration, the attacker might attempt file:// or gopher:// protocols, though standard HTTP/HTTPS is the primary vector.
  • 3. Post-Exploitation

  • Credential Theft: If cloud metadata is accessible, the attacker extracts IAM roles/credentials, allowing them to pivot to the cloud infrastructure (S3, EC2, etc.).
  • Internal Data Exfiltration: The attacker reads sensitive data from internal APIs (e.g., user databases, configuration files) and exfiltrates it via the Theia response.
  • Lateral Movement: Using stolen credentials or internal network access, the attacker can move to other hosts in the internal network.
  • Persistence: If the internal services have weak authentication, the attacker may create backdoors or modify configurations.
  • 🌍 Real World Impact

  • Confidentiality (High):
  • * Cloud Credential Theft: In cloud-hosted Theia instances (AWS, GCP, Azure), attackers can steal IAM credentials from the metadata service, leading to full cloud account compromise. * Internal Data Leakage: Access to internal microservices, databases, or administrative interfaces that are not exposed to the internet. * Source Code Exposure: If the Theia instance is used for development, attackers might access internal Git repositories or build artifacts.
  • Integrity (Low):
  • * State Modification: If internal services accept unauthenticated POST/PUT requests, the attacker could modify data (e.g., change user permissions, delete records). * Configuration Tampering: Potential to modify internal service configurations if the endpoints are writable.
  • Availability (None):
  • * The vulnerability does not directly cause denial of service. However, excessive SSRF requests could overload internal services, indirectly impacting availability.

    Practical Consequences:

  • Multi-Tenant Environments: A single compromised user account can lead to the compromise of the entire cloud infrastructure.

  • Publicly Exposed Theia: If the Theia backend is accessible from the internet, any authenticated user (or even unauthenticated if authentication is bypassed) can probe the internal network.

  • Compliance Violations: Exposure of PII, financial data, or proprietary code stored in internal services.
  • 🛡️ Remediation & Mitigation

    1. Upgrade

  • Action: Upgrade @theia/core and @theia/request to the latest patched versions.
  • Note: The CVE description does not specify exact version numbers. Check the official Theia release notes or GitHub advisories for the specific fixed version. Typically, Theia releases patches for critical vulnerabilities in minor or patch releases.
  • 2. Workarounds (If Immediate Upgrade is Not Possible)

  • Network Segmentation:
  • * Restrict outbound traffic from the Theia backend to only necessary external domains. * Block access to cloud metadata services (169.254.169.254) at the firewall level. * Use egress filtering to prevent the Theia backend from communicating with internal IP ranges (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) unless explicitly required.
  • WAF/ModSecurity Rules:
  • * Implement rules to detect and block SSRF attempts in the /services endpoint. * ModSecurity Example (Illustrative):
    SecRule REQUEST_URI "@rx /services/request-service" \
                "id:100001,phase:1,deny,status:403,msg:'SSRF attempt detected in request-service',log"
    
            SecRule ARGS:url "@rx (169\.254\.169\.254|localhost|127\.0\.0\.1|10\.|172\.1[6-9]\.|172\.2[0-9]\.|172\.3[0-1]\.|192\.168\.)" \
                "id:100002,phase:2,deny,status:403,msg:'SSRF internal IP detected',log"

    Note:* WAF rules are a mitigation, not a fix. They can be bypassed with encoding tricks or DNS rebinding.

  • Disable the Vulnerable RPC (If Possible):
  • * If the request-service is not critical for your use case, consider disabling it via Theia configuration or by patching the backend to reject the RPC. Technical Note:* This may break frontend functionality that relies on server-side requests.

    3. Detection

  • Web Server Logs:
  • * Look for requests to /services/request-service with URLs containing internal IPs, localhost, or cloud metadata addresses. * Example Log Pattern:
    POST /services/request-service HTTP/1.1
            ...
            {"url":"http://169.254.169.254/latest/meta-data/","method":"GET"}
  • Network Traffic Monitoring:
  • * Monitor outbound traffic from the Theia backend host for connections to 169.254.169.254 or internal IP ranges. * Use tools like Zeek, Suricata, or cloud-native network monitoring to detect anomalous outbound connections.
  • Cloud Security Posture Management (CSPM):
  • * Enable alerts for metadata service access from unexpected sources. * Monitor for IAM credential usage from the Theia backend's IP address.

    ⚠️ Urgency

  • CVSS Score: 8.5 (High)
  • CISA KEV: No (Not currently listed in the Known Exploited Vulnerabilities catalog, but this does not mean it is not being exploited in the wild).
  • Exploit Complexity: Low. The vulnerability is easily exploitable with a simple HTTP request.
  • Patch Priority: Critical/High.
* Immediate Action: If your Theia instance is exposed to the internet or accessible by untrusted users, patch immediately. * Short-Term Mitigation: Implement network segmentation and egress filtering to block access to cloud metadata and internal services. * Long-Term: Upgrade to a patched version of Theia.

Recommendation: Treat this as a high-priority vulnerability. The combination of low privileges required, high confidentiality impact, and ease of exploitation makes it a significant risk, especially in cloud environments.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
8.5 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (2)
@theia/core @theia/request
References & Advisories (4)
Related CVEs
8.8
CVE-2026-10054
### Impact The Theia browser backend exposes privileged terminal RPC services over WebSocket (`/services/shel
9.9
CVE-2026-45262
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Where.php::s
9.6
CVE-2026-118743
Server-side request forgery in Microsoft Copilot allows an authorized attacker to elevate privileges over a ne
9.2
CVE-2026-144579
curl_cffi 0.15.0 through 0.17.0 contains a server-side request forgery protection bypass in allow_redirects='s
9.2
CVE-2026-115991
Exposure of sensitive information in the content lock-check endpoints (PUT /api/content/canLock and GET /api/v
8.9
CVE-2026-144591
PhpSpreadsheet through 5.12.0 contains a server-side request forgery vulnerability that allows attackers to re
8.5
CVE-2026-135458
A path traversal vulnerability was identified in GitHub Enterprise Server that allowed a normal authenticated