NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

CVE-2026-63402 — i18next

MEDIUMFix: i18next/i18next@642137b

CVE-2026-63402 is a medium-severity (CVSS 5.9) CWE-471 vulnerability in i18next. A fix is available for i18next — see the affected versions and patch details below.

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

Also known asGHSA-6jcc-5g8w-32mx
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 22, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-63402.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs18th percentile — riskier than 18% of all scored CVEsHighest risk
0.00%0.25%0.51%0.76%0.3%0.3%Nov 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
📦i18next

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.

Description

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):

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

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmi18nextall versions26.3.4npm install i18next@26.3.4

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for i18next, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update i18next to 26.3.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-63402 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

This vulnerability is rated as Moderate impact because successful exploitation requires specific non-default invocation parameters and direct exposure of translation bundle ingestion to untrusted user input. Standard deployments across Red Hat products bundled with i18next do not expose the required recursive merge…

Workaround published by Red Hat
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Source: Red Hat security advisory for CVE-2026-63402 (CC BY 4.0)

Frequently Asked Questions

### 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
O3 Security · Impact-Aware SCA

Is CVE-2026-63402 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2026-63402: i18next DoS — Fixed in 26.3.4