Skip to main content

i18next-locize-backend CVE-2026-41885

| EUVDEUVD-2026-28795 MEDIUM
Path Traversal (CWE-22)
2026-05-08 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts malicious query parameter
  2. Delivery
    Browser loads URL with lng=../../admin
  3. Exploit
    i18next-browser-languagedetector extracts parameter
  4. Execution
    Library interpolates unencoded value into loadPath template
  5. Persist
    Malformed URL reaches locize API or internal backend
  6. Impact
    Unintended resource loaded or SSRF/traversal executed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability requires that an application expose at least one of four parameters to user-controlled input: (1) lng parameter via query strings, cookies, or HTTP headers when i18next-browser-languagedetector is configured to read from these sources, (2) ns (namespace) parameter via similar untrusted sources, (3) projectId derived from URL structure or user input, or (4) version parameter exposed to request handlers. Default locize.com CDN configurations limit traversal impact to redirection within the locize service; the most severe impact (SSRF, arbitrary-file-read) occurs only when an application uses a custom loadPath configuration pointing to internal services (e.g., file:// URLs, private HTTP APIs, or internal file servers). No special authentication is required - the vulnerability is pre-authentication. The vulnerability does NOT affect applications that hardcode all four parameters or source them exclusively from trusted application configuration without exposing them to HTTP request data.

Impact

CVSS 6.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N) indicates network-accessible, unauthenticated exploitation with low complexity. The AV:N and PR:N vectors confirm remote exploitation without authentication is feasible. However, real-world risk depends critically on deployment context. EPSS scoring is not provided in input data, limiting probabilistic exploitation assessment. Critically, the vulnerability requires that an application expose lng, ns, projectId, or version to user-controlled input - this is NOT a default-configuration issue but rather a misuse pattern. Applications using i18next-locize-backend without exposing these parameters to untrusted sources are not at risk. When exposed (via query parameters, cookies, or headers through i18next-browser-languagedetector), exploitation is trivial (AC:L) and requires no user interaction or privileges. The impact scope is Unchanged (S:U), meaning confidentiality and integrity are affected within the vulnerable component's authorization boundary, not broader system compromise. Worst-case scenarios (SSRF, arbitrary-file-read) depend on custom loadPath configurations pointing to internal/file-scheme URLs - default locize.com CDN endpoints cannot be traversed beyond the locize service itself. The lack of public exploit code and absence of KEV status suggest limited active exploitation, but the technical barrier is extremely low. Organizations should prioritize patching applications that actively expose lng/ns/projectId to user input (particularly via query parameters or browser-side language detection).

Exploit ScenarioDerived

An attacker-controlled web application using i18next-locize-backend with i18next-browser-languagedetector enabled passes a malicious lng parameter via URL query string (e.g., ?lng=en%2F..%2F..%2Fadmin). The browser-side language detector picks up this value and passes it to i18next-locize-backend without validation. The library interpolates the unencoded value directly into the loadPath URL template, transforming https://api.locize.app/project123/v1/en/common into https://api.locize.app/project123/v1/en/../../ admin/common, which traverses the URL path and potentially accesses unintended translation resources or (in SSRF scenarios with internal URLs) backend systems.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

URL injection via unsanitized path parameters in i18next-locize-backend prior to 9.0.2 allows remote attackers to manipulate translation resource URLs by injecting path traversal sequences, query strings, or fragments through user-controlled lng, ns, projectId, or version parameters. When these values are exposed via query parameters, cookies, or request headers through i18next-browser-languagedetector, an attacker can redirect requests to unintended translation resources or trigger SSRF/arbitrary-file-read attacks against internal/file-scheme URLs. No public exploit code has been identified, but the vulnerability is straightforward to exploit given network-accessible backend services.

RemediationAI

Upgrade i18next-locize-backend to version 9.0.2 or later. This release introduces proper URL-component encoding and path-traversal validation through new interpolateUrl() and isSafeUrlSegment() helpers. For applications unable to immediately upgrade, apply defense-in-depth controls: (1) Do not expose lng, ns, projectId, or version to untrusted user input via query parameters, cookies, or request headers. If i18next-browser-languagedetector is used, restrict its data sources to hardcoded application configuration rather than user-supplied parameters. (2) Validate and whitelist lng and ns values against a known-good list of supported languages and namespaces before passing them to i18next-locize-backend. This is the most effective mitigation for applications that cannot immediately patch. (3) If using custom loadPath configurations with internal or file-scheme URLs, restrict backend service network access through firewall rules or service-mesh policies to prevent SSRF attacks. The trade-off of these workarounds is operational complexity; patching is strongly preferred. Vendor advisory: https://github.com/locize/i18next-locize-backend/security/advisories/GHSA-mgcp-mfp8-3q45

Affected VersionsENISA

i18next-locize-backend < 9.0.2

Affected Packages

npm i18next-locize-backend fix: 9.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

i18next-locize-backend is a Node.js library that integrates i18next internationalization with the locize.com translation management service. It constructs HTTP URLs by interpolating user-supplied parameters (lng, ns, projectId, version) directly into URL templates (loadPath, privatePath, addPath, updatePath, getLanguagesPath) without encoding or validation. The affected interpolate() helper in lib/utils.js performs simple string substitution without RFC 3986 path-component encoding. Additionally, the pre-patch code iterates over object properties using for...in loops in the defaults() helper, exposing a secondary prototype-pollution vector where polluted Object.prototype properties could leak into URL construction. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), manifesting as URL structural manipulation rather than traditional filesystem traversal. The fix (version 9.0.2) introduces interpolateUrl(), isSafeUrlSegment(), and sanitizeLogValue() helpers that encode path components and exclude prototype-chain pollution.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
May 08, 2026 - 17:02 EUVD
CVE Published
May 08, 2026 - 15:41 nvd
MEDIUM 6.5

DescriptionCVE.org

i18next-locize-backend is a simple i18next backend for locize.com which can be used in Node.js, in the browser and for Deno. Prior to version 9.0.2, i18next-locize-backend interpolates lng, ns, projectId, and version directly into the configured loadPath / privatePath / addPath / updatePath / getLanguagesPath URL templates with no path-component validation and no encoding. When an application exposes any of these values to user-controlled input (?lng= / ?ns= query parameters via i18next-browser-languagedetector, cookies, request headers, or a URL-derived projectId), a crafted value can change the structure of the outgoing request URL. Affected call sites in lib/index.js (pre-patch): the interpolate() helper is used at the five URL-build sites - _readAny/read (line 415 for private, 426 for public), getLanguages (lines 271 and 296), and writePage (lines 616 and 622) for the missing-key and update POST paths. The helper interpolate in lib/utils.js substitutes raw values with no encoding. This issue has been patched in version 9.0.2.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy