Description
In Eclipse Theia versions up to and including 1.69.0, opening a folder starts source control integration without requiring the user to trust the folder first. This affects applications built on Theia that include the git integration, such as the Theia IDE. Both Theia's own `@theia/git` extension and the builtin VS Code `git` extension run git commands such as `git status` as soon as a repository is detected. Since git honors repository-local configuration, a folder containing an attacker-controlled `.git/config` with `core.fsmonitor` (or a comparable hook-like setting) causes the configured command to be executed. The configuration can be delivered by burying a bare repository inside a regular repository (OVE-20210718-0001), so cloning an attacker-supplied repository and opening it in a Theia-based application is sufficient to execute arbitrary commands with the privileges of the user, without any confirmation prompt.



As of 1.70.0, plugins that declare `capabilities.untrustedWorkspaces.supported: false`, which includes the builtin git extension, are no longer loaded or activated in an untrusted workspace, and the deprecated `@theia/git` extension has been removed, so no git command is executed against an untrusted folder.
Published: 2026-08-14
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In Eclipse Theia versions up to 1.69.0, opening a folder automatically initiates source control integration and runs git commands such as "git status" without requiring the user to trust the folder first. An attacker can supply a repository containing a crafted ".git/config" file that uses a hook‑like setting such as "core.fsmonitor" to execute arbitrary commands when the repository is detected. Because git honors local configuration, the configured command runs with the privileges of the user and no confirmation prompt appears, giving the attacker full code execution capability within the Theia application. This flaw is a remote code execution vulnerability that stems from CWE‑15 (Improper Control of Generation of Code or Effects from External Input) and CWE‑829 (Harmless Duplicated Functionality).

Affected Systems

The affected systems are all distributions of Eclipse Theia 1.69.0 or earlier, including applications built on Theia that include git integration such as the Theia IDE. The defect was addressed in 1.70.0 by disabling loading of untrusted workspaces for plugins that declare "capabilities.untrustedWorkspaces.supported: false", removing the deprecated @theia/git extension, and preventing git commands from being executed against untrusted folders.

Risk and Exploitability

The risk is high, with a CVSS score of 8.4. The EPSS score is not available, but the vulnerability does not require network exploitation; an attacker must supply a repository and persuade or trick a user into opening it in Theia. No exploitation is listed in CISA's KEV catalog, but the potential for arbitrary command execution makes this flaw critical for any environment that accepts untrusted code repositories.

Generated by OpenCVE AI on August 14, 2026 at 16:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Eclipse Theia to version 1.70.0 or subsequently patched releases.
  • If an upgrade is not immediately viable, disable the Git integration for untrusted workspaces by configuring the plugin to set "capabilities.untrustedWorkspaces.supported: false" or by removing the @theia/git extension from the workspace.
  • Verify opened repositories do not contain attacker‑controlled ".git/config" files and ensure no git commands are executed automatically when a new folder is opened.

Generated by OpenCVE AI on August 14, 2026 at 16:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 14 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Title Untrusted Git Configuration Enables Remote Code Execution in Eclipse Theia

Fri, 14 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Eclipse
Eclipse theia
Vendors & Products Eclipse
Eclipse theia

Fri, 14 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In Eclipse Theia versions up to and including 1.69.0, opening a folder starts source control integration without requiring the user to trust the folder first. This affects applications built on Theia that include the git integration, such as the Theia IDE. Both Theia's own `@theia/git` extension and the builtin VS Code `git` extension run git commands such as `git status` as soon as a repository is detected. Since git honors repository-local configuration, a folder containing an attacker-controlled `.git/config` with `core.fsmonitor` (or a comparable hook-like setting) causes the configured command to be executed. The configuration can be delivered by burying a bare repository inside a regular repository (OVE-20210718-0001), so cloning an attacker-supplied repository and opening it in a Theia-based application is sufficient to execute arbitrary commands with the privileges of the user, without any confirmation prompt. As of 1.70.0, plugins that declare `capabilities.untrustedWorkspaces.supported: false`, which includes the builtin git extension, are no longer loaded or activated in an untrusted workspace, and the deprecated `@theia/git` extension has been removed, so no git command is executed against an untrusted folder.
Weaknesses CWE-15
CWE-829
References
Metrics cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-08-17T12:28:44.767Z

Reserved: 2026-08-14T15:09:42.140Z

Link: CVE-2026-19884

cve-icon Vulnrichment

Updated: 2026-08-14T19:40:26.455Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-14T16:16:55.073

Modified: 2026-08-18T15:04:46.610

Link: CVE-2026-19884

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T17:00:15Z

Weaknesses
  • CWE-15

    External Control of System or Configuration Setting

  • CWE-829

    Inclusion of Functionality from Untrusted Control Sphere