CVE-2026-63402: i18next deepExtend recurses into inherited built-ins, allowing corruption of shared built-in objects (DoS)

Published Oct 30, 2026
·
Updated

Summary

deepExtend in src/utils.js (reached via the public addResourceBundle(lng, ns, data, deep, overwrite) API) checked key existence with the in operator, which walks the prototype chain. A source key matching an inherited built-in (e.g. hasOwnProperty, toString, valueOf) therefore caused the function to recurse into the shared object on Object.prototype. With overwrite: true, a nested value could overwrite a property of that shared built-in — for example setting Object.prototype.hasOwnProperty.call to a non-callable value — corrupting it process-wide and causing an unrecoverable denial of service.

This is distinct from CVE-2026-48713 (i18next-fs-backend) and CVE-2026-48714 (i18next-http-middleware), which are prototype pollution via setPath/key-walking in different packages. This issue is in i18next core, via a different mechanism (the in operator in deepExtend), and is gated behind a non-default call configuration.

Details

src/utils.js (≤ 26.3.3):

js export const deepExtend = (target, source, overwrite) => { for (const prop in source) { if (prop !== 'proto' && prop !== 'constructor') { if (prop in target) { // <-- walks the prototype chain if (isString(target[prop]) || target[prop] instanceof String || isString(source[prop]) || source[prop] instanceof String) { if (overwrite) target[prop] = source[prop]; } else { deepExtend(target[prop], source[prop], overwrite); } } else { target[prop] = source[prop]; } } } return target; };

For source = { hasOwnProperty: { call: "corrupted" } } and target = {}: "hasOwnProperty" in target is true (inherited from Object.prototype), so the code recurses with target = Object.prototype.hasOwnProperty. In that call, "call" in target is true (inherited from Function.prototype), source.call is a string, and with overwrite: true the assignment sets an own call property on Object.prototype.hasOwnProperty to the string "corrupted". Every subsequent Object.prototype.hasOwnProperty.call(...) then throws TypeError, including i18next's own internals.

The existing proto/constructor guard does not cover this, because the corruption target is an inherited built-in function, not the prototype object itself.

Proof of Concept

js import i18next from 'i18next';

await i18next.init({ lng: 'en', resources: { en: { translation: {} } } });

const payload = { hasOwnProperty: { call: 'corrupted' } }; i18next.addResourceBundle('en', 'translation', payload, / deep / true, / overwrite / true);

// Process-wide corruption: Object.prototype.hasOwnProperty.call({}, 'test'); // TypeError: ... is not a function

Impact

Denial of service (process-wide, unrecoverable) and limited integrity impact (a shared built-in property is set to an attacker-supplied value).

Preconditions (why severity is Medium, not High): the application must pass attacker-controlled data into addResourceBundle with both deep: true and overwrite: true. No standard i18next backend or integration does this; it only occurs in explicit application code that merges untrusted content. The default addResourceBundle path (no deep merge, or overwrite falsy) is not affected.

Patch

Fixed in i18next 26.3.4 by checking existence with Object.prototype.hasOwnProperty.call(target, prop) instead of the in operator, so inherited keys are copied as plain own data instead of triggering recursion.

Other sources

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.

— MITRE

Affected Software

11 affected componentsFixes available
debian/node-i18next*
debian/node-i18next*
debian/node-i18next<26.7.1-1
26.7.1-1
debian/node-i18next<=22.4.8-1, <=23.7.6-1
26.7.1-1
npm/i18next<26.3.4
26.3.4
ubuntu/node-i18next*
ubuntu/node-i18next*
ubuntu/node-i18next*
ubuntu/node-i18next*
ubuntu/node-i18next*
IBM Process Mining<=2.0.0 - 2.2.1 IF001

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/node-i18next to a version that resolves this vulnerability.

    Fixed in 26.7.1-1
  2. Upgrade

    Upgrade npm/i18next to a version that resolves this vulnerability.

    Fixed in 26.3.4
  3. Upgrade

    Upgrade i18next to a version that resolves this vulnerability.

    Fixed in 26.3.4

Event History

Oct 30, 2026
CVE Published
via MITRE·10:39 PM
Data Sourced
via MITRE·10:39 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Oct 31, 2026
Data Sourced
via OSV·10:01 AM
Affected Software
Nov 5, 2026
Exploit Published
via CISA·02:59 AM
Nov 8, 2026
Updated
via OSV·06:00 AM
Affected Software
Nov 23, 2026
Advisory Published
via GitHub·08:53 PM
Data Sourced
via GitHub·08:53 PM
DescriptionSeverityWeaknessAffected Software
Nov 24, 2026
Exploit Published
via GitHub·06:20 AM
Nov 30, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Which deployments are realistically exposed?

Exposure requires application code to pass attacker-controlled resource data to addResourceBundle with both deep and overwrite set to true. Default calls that do not deep merge, or that use a falsy overwrite value, are unaffected; no standard i18next backend or integration uses the vulnerable configuration.

2

What can an attacker do if the vulnerable call path is reachable?

Attacker-controlled keys such as hasOwnProperty, toString, or valueOf can reach inherited built-in function objects and overwrite their properties process-wide. This can cause unrecoverable denial of service, such as making Object.prototype.hasOwnProperty.call non-callable and triggering TypeError in later application or i18next operations, with limited integrity impact.

3

What can be done if updating is not immediately possible?

Do not pass attacker-controlled resource data to addResourceBundle with deep: true and overwrite: true. Avoid deep merging or ensure overwrite is falsy for untrusted resource data.

4

How can I determine whether my application is affected?

Review calls to addResourceBundle and identify whether untrusted data can reach its data argument while both deep and overwrite are true. Also inspect supplied resource keys and nested values for keys such as hasOwnProperty, toString, or valueOf.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203