PT-2026-37150 · Npm · I18Next-Http-Middleware+2
Published
2026-04-22
·
Updated
2026-05-08
·
CVE-2026-41690
CVSS v3.1
8.6
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L |
Name of the Vulnerable Software and Affected Versions
i18next-http-middleware versions prior to 3.9.3
Description
An unauthenticated HTTP client can pollute
Object.prototype in the Node.js process hosting the middleware. This occurs via two unvalidated entry points: getResourcesHandler and missingKeyHandler. Specifically, getResourcesHandler reads lng and ns from query or route parameters and passes them to utils.setPath(), which failed to guard against proto, constructor, or prototype keys. Additionally, missingKeyHandler used a for...in loop to iterate the request body, allowing inherited prototype-chain properties to be forwarded.This prototype pollution can break authorization checks, cause type-confusion denial of service (DoS), or be chained into remote code execution (RCE). Furthermore, depending on the configured backend, unvalidated path segments can enable filesystem path traversal (e.g., with
i18next-fs-backend) or server-side request forgery (SSRF) (e.g., with i18next-http-backend). The vulnerability also allows for memory and CPU exhaustion due to unbounded growth of the shared singleton namespace list.Recommendations
Update to version 3.9.3.
As a partial mitigation, use a WAF rule to reject requests containing
proto, constructor, prototype, .., or control characters in lng and ns query parameters or body keys.Fix
RCE
DoS
Prototype Pollution
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
I18Next-Fs-Backend
I18Next-Http-Backend
I18Next-Http-Middleware