Description
A security vulnerability has been detected in tamagui up to 2.3.0. This affects the function updateConfig of the file code/core/web/src/config.ts. Such manipulation leads to improperly controlled modification of object prototype attributes. The attack may be performed from remote. Upgrading to version 2.3.1 is able to mitigate this issue. The name of the patch is e46af9879b7627934ea4d6d6e46e65cea53abb3d. The affected component should be upgraded.
Published: 2026-07-14
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Tamagui’s updateConfig function, located in the core configuration module, validates user‑supplied configuration data without sufficient checks. This allows a remote attacker to inject arbitrary properties into JavaScript object prototypes, resulting in unauthorized modification of prototype attributes. The prototype‑pollution flaw (CWE‑1321) can cause unpredictable application behavior and compromise data integrity, as the altered prototypes may affect subsequent code paths. The vulnerability is classified under CWE‑94 as well, reflecting the dynamic nature of the configuration handling.

Affected Systems

Tamagui, a React Native and Web UI framework, is affected in all releases up to and including v2.3.0. The vendor fix is delivered in release v2.3.1 and corresponds to commit e46af9879b7627934ea4d6d6e46e65cea53abb3d. Administrators should upgrade to version 2.3.1 or later to resolve the vulnerability.

Risk and Exploitability

The CVSS score of 5.3 classifies this vulnerability as medium severity, while the EPSS score of less than 1% indicates a low likelihood of exploitation. The description states that the attack may be performed from remote, indicating that the vulnerability can be exploited over the network by sending malicious configuration data to the vulnerable code path. Successful exploitation would require the attacker to deliver crafted configuration that reaches the updateConfig function, after which prototype pollution would occur, potentially leading to unpredictable behavior or compromised data integrity.

Generated by OpenCVE AI on July 31, 2026 at 09:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Tamagui to version 2.3.1 or later to apply the vendor‑provided fix.
  • Restrict the keys passed to updateConfig by implementing input validation or a whitelist of allowed configuration properties before invoking the function.
  • Monitor the application for unexpected prototype modifications and audit configuration handling code to ensure it does not alter prototype prototypes at runtime.

Generated by OpenCVE AI on July 31, 2026 at 09:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 14 Jul 2026 17:15:00 +0000

Type Values Removed Values Added
Description A security vulnerability has been detected in tamagui up to 2.3.0. This affects the function updateConfig of the file code/core/web/src/config.ts. Such manipulation leads to improperly controlled modification of object prototype attributes. The attack may be performed from remote. Upgrading to version 2.3.1 is able to mitigate this issue. The name of the patch is e46af9879b7627934ea4d6d6e46e65cea53abb3d. The affected component should be upgraded.
Title tamagui config.ts updateConfig prototype pollution
First Time appeared Tamagui
Tamagui tamagui
Weaknesses CWE-1321
CWE-94
CPEs cpe:2.3:a:tamagui:tamagui:*:*:*:*:*:*:*:*
Vendors & Products Tamagui
Tamagui tamagui
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-15T13:17:16.052Z

Reserved: 2026-07-14T05:29:15.935Z

Link: CVE-2026-15702

cve-icon Vulnrichment

Updated: 2026-07-15T13:16:52.817Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T10:00:05Z

Weaknesses
  • CWE-1321

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

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')