CVE-2026-48714: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in i18next i18next-http-middleware
i18next-http-middleware is a middleware to be used with Node.js web frameworks like express or Fastify and also for Deno. In versions prior to 3.9.7, the missingKeyHandler blocked the literal request-body keys __proto__, constructor, and prototype (added in 3.9.3, see GHSA-5fgg-jcpf-8jjw), but did not reject dotted variants such as "__proto__.polluted". Downstream backends that split the missing-key string on a configured keySeparator (notably i18next-fs-backend ≤ 2.6.5) hand these keys to an unguarded setPath() walker that writes to Object.prototype. Applications that expose missingKeyHandler to untrusted input AND use i18next-fs-backend ≤ 2.6.5 are directly exploitable for remote prototype pollution. Other downstream backends that split the missing-key string the same way may be similarly affected. Depending on the host application, polluted prototype properties may cause crashes, corrupted translation behaviour, configuration poisoning, or bypasses of property-based security checks. This issue has been fixed in version 3.9.7. If developers cannot upgrade immediately, they should do the following: do not expose missingKeyHandler to untrusted users (mount it behind authentication, or remove the route), add a request-body filter ahead of the handler that rejects any top-level key containing __proto__, constructor, or prototype after splitting on their configured keySeparator, and disable missing-key persistence (saveMissing: false) when accepting writes from untrusted input.
AI Analysis
Technical Summary
The vulnerability in i18next-http-middleware (before 3.9.7) involves improper filtering of prototype-related keys in the missingKeyHandler. Although literal keys __proto__, constructor, and prototype are blocked, dotted variants like "__proto__.polluted" are not rejected. Downstream backends such as i18next-fs-backend ≤ 2.6.5 split these keys on a configured separator and use an unguarded setPath() function that writes to Object.prototype, enabling remote prototype pollution. This can lead to crashes, corrupted translations, configuration poisoning, or security bypasses depending on the host application. The issue is resolved in version 3.9.7. Mitigations for those unable to upgrade include restricting access to missingKeyHandler, filtering request bodies for prototype-related keys, and disabling missing-key persistence for untrusted input.
Potential Impact
This vulnerability allows remote attackers to perform prototype pollution via crafted keys in the missingKeyHandler input, leading to potential crashes, corrupted translation data, configuration poisoning, or bypass of property-based security controls. The impact is high integrity and availability impact but no direct confidentiality loss is indicated.
Mitigation Recommendations
A fix is available in i18next-http-middleware version 3.9.7. Users should upgrade to this version to fully remediate the vulnerability. If immediate upgrade is not feasible, developers should not expose missingKeyHandler to untrusted users by restricting access or removing the route. Additionally, implement request-body filtering to reject any top-level keys containing __proto__, constructor, or prototype after splitting on the configured keySeparator. Also, disable missing-key persistence (saveMissing: false) when accepting writes from untrusted input. These mitigations reduce the risk until the official fix can be applied.
CVE-2026-48714: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in i18next i18next-http-middleware
Description
i18next-http-middleware is a middleware to be used with Node.js web frameworks like express or Fastify and also for Deno. In versions prior to 3.9.7, the missingKeyHandler blocked the literal request-body keys __proto__, constructor, and prototype (added in 3.9.3, see GHSA-5fgg-jcpf-8jjw), but did not reject dotted variants such as "__proto__.polluted". Downstream backends that split the missing-key string on a configured keySeparator (notably i18next-fs-backend ≤ 2.6.5) hand these keys to an unguarded setPath() walker that writes to Object.prototype. Applications that expose missingKeyHandler to untrusted input AND use i18next-fs-backend ≤ 2.6.5 are directly exploitable for remote prototype pollution. Other downstream backends that split the missing-key string the same way may be similarly affected. Depending on the host application, polluted prototype properties may cause crashes, corrupted translation behaviour, configuration poisoning, or bypasses of property-based security checks. This issue has been fixed in version 3.9.7. If developers cannot upgrade immediately, they should do the following: do not expose missingKeyHandler to untrusted users (mount it behind authentication, or remove the route), add a request-body filter ahead of the handler that rejects any top-level key containing __proto__, constructor, or prototype after splitting on their configured keySeparator, and disable missing-key persistence (saveMissing: false) when accepting writes from untrusted input.
CVSS v3.1
Score 9.1critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in i18next-http-middleware (before 3.9.7) involves improper filtering of prototype-related keys in the missingKeyHandler. Although literal keys __proto__, constructor, and prototype are blocked, dotted variants like "__proto__.polluted" are not rejected. Downstream backends such as i18next-fs-backend ≤ 2.6.5 split these keys on a configured separator and use an unguarded setPath() function that writes to Object.prototype, enabling remote prototype pollution. This can lead to crashes, corrupted translations, configuration poisoning, or security bypasses depending on the host application. The issue is resolved in version 3.9.7. Mitigations for those unable to upgrade include restricting access to missingKeyHandler, filtering request bodies for prototype-related keys, and disabling missing-key persistence for untrusted input.
Potential Impact
This vulnerability allows remote attackers to perform prototype pollution via crafted keys in the missingKeyHandler input, leading to potential crashes, corrupted translation data, configuration poisoning, or bypass of property-based security controls. The impact is high integrity and availability impact but no direct confidentiality loss is indicated.
Mitigation Recommendations
A fix is available in i18next-http-middleware version 3.9.7. Users should upgrade to this version to fully remediate the vulnerability. If immediate upgrade is not feasible, developers should not expose missingKeyHandler to untrusted users by restricting access or removing the route. Additionally, implement request-body filtering to reject any top-level keys containing __proto__, constructor, or prototype after splitting on the configured keySeparator. Also, disable missing-key persistence (saveMissing: false) when accepting writes from untrusted input. These mitigations reduce the risk until the official fix can be applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-22T18:47:27.755Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a30726b0b89be6888a31ae3
Added to database: 6/15/2026, 9:45:15 PM
Last enriched: 6/15/2026, 10:00:16 PM
Last updated: 6/18/2026, 6:17:56 AM
Views: 37
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.