SecurityContext

CVE-2026-48713: i18next - Prototype Pollution

  • Cve: CVE-2026-48713
  • Name: i18next - Prototype Pollution
  • Description: Versions prior to 2.6.6 are vulnerable to prototype pollution via crafted missing-key strings when used to persist missing translation keys (e.g. via i18next-http-middleware's missingKeyHandler exposed to untrusted input). Backend.writeFile() splits each queued missing-key string on the configured keySeparator (default .) before calling the internal setPath() walker. The walker (getLastOfPath in lib/utils.js) did not guard against unsafe segments, so a key like "__proto__.polluted" was split into ["__proto__", "polluted"] and walked straight into Object.prototype, allowing an attacker to write arbitrary properties onto the global object prototype. Depending on the host application, polluted prototype properties may cause crashes, corrupted translation behaviour, configuration poisoning, or bypasses of property-based security checks. Applications are affected only if the missingKeyHandler (or another route that forwards untrusted request bodies to i18next.t(..., { ... }) with saveMissing: true) is reachable by untrusted users and the default behaviour of splitting missing-key strings on keySeparator is in use (i.e. keySeparator is not false). Apps that do not expose missing-key persistence to untrusted input are not directly affected through this attack path. This issue has been fixed in version 2.6.6. If developers using the library are unable to upgrade immediately, they should take the following precautions: do not expose i18next-http-middleware's missingKeyHandler to untrusted users (mount it behind authentication, or remove the route), disable missing-key persistence (saveMissing: false, or no backend.create implementation) when accepting writes from untrusted input, and set keySeparator: false in their i18next options to disable backend key splitting (note: this also disables nested translation keys).
  • Impact: Attackers can modify global object prototype, causing crashes, corrupted behavior, configuration poisoning, or security bypasses.
  • Remediation: Upgrade to version 2.6.6 or later. Alternatively, restrict access to missingKeyHandler, disable missing-key persistence, or set keySeparator to false.
  • Vulnerability type: prototype_pollution
  • Vulnerability impact: privilege_escalation, denial_of_service, data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker must send crafted missing-key strings via untrusted input to missingKeyHandler with default keySeparator enabled.
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Epss score: 0.00492
  • Epss percentile: 0.43123
  • Assignee: [email protected]
  • Published at: 2026-06-15T22:16:17Z
  • Age in days: 162
  • Modified at: 2026-10-25T23:10:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-48713
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-1321Improperly Controlled Modification of Object Prototype Attributes

References

UrlSourceTags
https://github.com/i18next/i18next-fs-backend/commit/3ab0448087da6935a40117f904b7457281f963f4nvdPatch
https://github.com/i18next/i18next-fs-backend/security/advisories/GHSA-2933-q333-qg83nvdMitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
i18next:i18next-fs-backend< 2.6.6nonvd/v1/products/i18next/i18next-fs-backend

Projects

RepositoryLink kindsIndexedUrl
i18next/i18next-fs-backendcommit, fix, package, security_advisoryyes/v1/repositories/i18next/i18next-fs-backend

Index

  • Repositories: 25
  • Repositories high signal: 14
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts