Description
In Eclipse Theia versions 0.7.0 and up until including 1.73.1, the `PreferenceUtils.merge` function in `@theia/core` recursively merges preference values without rejecting prototype-related keys (`__proto__`, `constructor`, `prototype`). Because this function is invoked by `PreferenceServiceImpl.doResolve` for every preference resolution across scopes (default, user, workspace, folder), a crafted preference value in a workspace settings file (`.theia/settings.json` or `.vscode/settings.json`) can pollute `Object.prototype` when the user opens the workspace, potentially altering application logic across the Theia process.
Published: 2026-08-05
Score: 5.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In Eclipse Theia up to version 1.73.1, the PreferenceUtils.merge function merges preference values recursively but does not filter out prototype‑related keys such as __proto__, constructor, or prototype. When PreferenceServiceImpl.doResolve processes preferences from default, user, workspace, or folder scopes, a maliciously crafted value in the workspace settings file (.theia/settings.json or .vscode/settings.json) can inject these keys into Object.prototype, potentially altering the behavior of objects across the entire Theia process. This flaw, identified as CWE‑1321, can compromise application integrity and lead to unintended application logic changes.

Affected Systems

Affected users run Eclipse Theia versions 0.7.0 through 1.73.1; the vulnerability resides in the core module @theia/core and is triggered whenever workspace settings are loaded. All preference scopes—default, user, workspace, or folder—are affected, and a workspace containing prototype keys will exercise the flaw.

Risk and Exploitability

The CVSS score is 5.7, indicating medium severity, and the EPSS score is not available; the CVE is not listed in the CISA KEV catalog. Exploitation is most likely when an attacker can control the workspace settings file, such as by committing malicious settings to a shared repository or by compromising file access to a client’s workspace. Normal Theia users who open the affected workspace would trigger the prototype pollution, potentially enabling manipulation of preference processing or other application logic.

Generated by OpenCVE AI on August 5, 2026 at 12:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Theia release that removes prototype‑related keys from PreferenceUtils.merge.
  • Audit and cleanse existing workspace settings files for any __proto__, constructor, or prototype keys before opening the workspace.
  • Restrict write access to workspace configuration files and disable untrusted workspace imports until a patch is applied.

Generated by OpenCVE AI on August 5, 2026 at 12:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

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


Wed, 05 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Title Prototype Pollution via Preference Merge in Eclipse Theia Settings

Wed, 05 Aug 2026 12:45:00 +0000

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

Wed, 05 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Description In Eclipse Theia versions 0.7.0 and up until including 1.73.1, the `PreferenceUtils.merge` function in `@theia/core` recursively merges preference values without rejecting prototype-related keys (`__proto__`, `constructor`, `prototype`). Because this function is invoked by `PreferenceServiceImpl.doResolve` for every preference resolution across scopes (default, user, workspace, folder), a crafted preference value in a workspace settings file (`.theia/settings.json` or `.vscode/settings.json`) can pollute `Object.prototype` when the user opens the workspace, potentially altering application logic across the Theia process.
Weaknesses CWE-1321
References
Metrics cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-08-05T13:05:29.371Z

Reserved: 2026-07-03T11:09:54.712Z

Link: CVE-2026-14574

cve-icon Vulnrichment

Updated: 2026-08-05T13:05:25.814Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-05T11:16:25.030

Modified: 2026-08-07T16:02:40.473

Link: CVE-2026-14574

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T13:00:16Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')