CVE-2026-63402

i18next: Shared built-in corruption through inherited-key deepExtend recursion

Published Oct 30, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
i18next is an internationalization framework for JavaScript. Prior to version 26.3.4, `deepExtend` in `src/utils.js` checks property existence with the in operator and recurses into inherited built-ins reached through `Object.prototype`. An application must explicitly pass attacker-controlled resource data to `addResourceBundle(lng, ns, data, deep, overwrite)` with both `deep: true` and `overwrite: true`. Source keys such as `hasOwnProperty`, `toString` and `valueOf` can then select shared inherited built-in function objects, and a nested value can overwrite a property of those objects process-wide. For example, making `Object.prototype.hasOwnProperty.call` non-callable causes subsequent uses, including i18next internals, to throw TypeError, resulting in unrecoverable denial of service and limited integrity impact. The `__proto__`/`constructor` guard does not prevent this mechanism because the corruption target is an inherited built-in function rather than the prototype object itself. Default calls without deep merging or with overwrite falsy are unaffected, and no standard i18next backend or integration uses the vulnerable configuration. This issue is distinct from the setPath/key-walking prototype-pollution flaws in i18next-fs-backend (CVE-2026-48713) and i18next-http-middleware (CVE-2026-48714). This issue is fixed in version 26.3.4.

Analysis

AI-generated

Technical impact

i18next’s deepExtend function could be manipulated by an attacker who supplies a crafted resource bundle to addResourceBundle with deep and overwrite both set to true. Keys that match inherited built‑in names such as hasOwnProperty, toString, or valueOf are interpreted as references to functions on Object.prototype. When these are overwritten, the functions become corrupt process‑wide, causing subsequent calls—including those from i18next internals—to throw errors and terminate the application. The result is an unrecoverable denial of service and a breach of integrity for the affected process.

Affected Systems

This flaw exists in the i18next library before version 26.3.4. The affected product is the i18 JavaScript internationalization framework; any deployment that uses i18next v26.3.3 or older and invokes addResourceBundle with deep and overwrite enabled is vulnerable.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity. EPSS score is <1%, but the flaw is not listed in the CISA KEV catalog. Exploitation requires the attacker to supply controlled resource data; no flaw is exposed by default i18next configurations or public integrations. If an attacker can supply such data, they can corrupt shared built‑ins and cause a denial of service and limited integrity compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to i18next version 26.3.4 or later
  • Audit the codebase to ensure addResourceBundle is never invoked with deep:true and overwrite:true using external or untrusted data
  • If upgrade is delayed, sanitize any user‑supplied bundle keys or disable deep merging for external resources

Generated by OpenCVE AI on November 6, 2026 at 02:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared I18next
I18next i18next
Vendors & Products I18next
I18next i18next
Type Values Removed Values Added
Description i18next is an internationalization framework for JavaScript. Prior to version 26.3.4, `deepExtend` in `src/utils.js` checks property existence with the in operator and recurses into inherited built-ins reached through `Object.prototype`. An application must explicitly pass attacker-controlled resource data to `addResourceBundle(lng, ns, data, deep, overwrite)` with both `deep: true` and `overwrite: true`. Source keys such as `hasOwnProperty`, `toString` and `valueOf` can then select shared inherited built-in function objects, and a nested value can overwrite a property of those objects process-wide. For example, making `Object.prototype.hasOwnProperty.call` non-callable causes subsequent uses, including i18next internals, to throw TypeError, resulting in unrecoverable denial of service and limited integrity impact. The `__proto__`/`constructor` guard does not prevent this mechanism because the corruption target is an inherited built-in function rather than the prototype object itself. Default calls without deep merging or with overwrite falsy are unaffected, and no standard i18next backend or integration uses the vulnerable configuration. This issue is distinct from the setPath/key-walking prototype-pollution flaws in i18next-fs-backend (CVE-2026-48713) and i18next-http-middleware (CVE-2026-48714). This issue is fixed in version 26.3.4.
Title i18next: Shared built-in corruption through inherited-key deepExtend recursion
Weaknesses CWE-1321
CWE-471
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H'}

Weaknesses
  • CWE-1321

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

  • CWE-471

    Modification of Assumed-Immutable Data (MAID)

  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 5, 2026, 3:00 AM
Reserved
Jul 16, 2026, 7:20 PM
Status
Awaiting Analysis
Published
Oct 30, 2026, 11:17 PM
Modified
Nov 5, 2026, 3:17 AM
Severity
Moderate
Public date
Oct 30, 2026, 10:39 PM