CVE-2026-14574

Prototype Pollution via Preference Merge in Eclipse Theia Settings

Published Aug 5, 2026 CVSS 4.0 · 5.7 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
References
Metrics ssvc

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

Type Values Removed Values Added
Title Prototype Pollution via Preference Merge in Eclipse Theia Settings
Type Values Removed Values Added
First Time appeared Eclipse
Eclipse theia
Vendors & Products Eclipse
Eclipse theia
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'}

Weaknesses
  • CWE-1321

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

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Aug 5, 2026, 1:05 PM
Reserved
Jul 3, 2026, 11:09 AM
Status
Analyzed
Published
Aug 5, 2026, 11:16 AM
Modified
Oct 23, 2026, 9:10 PM