Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 79%

CVE-2026-41693: CWE-73: External Control of File Name or Path in i18next i18next-fs-backend

0
High
VulnerabilityCVE-2026-41693cvecve-2026-41693cwe-73cwe-22
Published: 05/08/2026 (05/08/2026, 15:38:50 UTC)
Source: CVE Database V5
Vendor/Project: i18next
Product: i18next-fs-backend

Description

i18next-fs-backend is a backend layer for i18next using in Node.js and for Deno to load translations from the filesystem. Prior to version 2.6.4, i18next-fs-backend substitutes the lng and ns options directly into the configured loadPath / addPath templates and then read / write the resulting file from disk. The interpolation is unencoded and unvalidated, so a crafted lng or ns value — containing .., a path separator, a control character, a prototype key, or simply an unexpectedly long string — allows an attacker who can influence either value to read or overwrite files outside the intended locale directory. When lng / ns are derived from untrusted input (request-scoped i18next instances behind an HTTP layer such as i18next-http-middleware, or any framework that lets the end user pick the language via query string, cookie, or header), a single request such as ?lng=../../../../etc/passwd causes the backend to attempt to read that path. This issue has been patched in version 2.6.4.

CVSS v3.1

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Affected software

i18next/i18next-fs-backend
pkg:npm/i18next/i18next-fs-backend
Affected versions
<2.6.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/16/2026, 09:41:23 UTC

Technical Analysis

i18next-fs-backend, a filesystem backend for i18next in Node.js and Deno, prior to version 2.6.4, improperly handles interpolation of the lng and ns options into file path templates. Because these values are unencoded and unvalidated, an attacker able to control them can craft inputs containing directory traversal sequences (e.g., ../../) or other special characters to read or write files outside the intended translation directories. This vulnerability is classified under CWE-73 (External Control of File Name or Path) and CWE-22 (Path Traversal). The issue is mitigated by upgrading to version 2.6.4 where proper validation and encoding are implemented.

Potential Impact

An attacker who can influence the lng or ns parameters, typically through HTTP request parameters or headers in applications using i18next-fs-backend, can exploit this vulnerability to read arbitrary files on the filesystem or overwrite files outside the intended translation directories. This can lead to unauthorized disclosure of sensitive information (confidentiality impact is high) and limited integrity impact due to potential file overwrites. There is no direct availability impact reported. The CVSS 3.1 base score is 8.2 (high severity), reflecting network attack vector, no privileges required, no user interaction, and high confidentiality impact.

Mitigation Recommendations

This vulnerability is fixed in i18next-fs-backend version 2.6.4. Users should upgrade to version 2.6.4 or later to ensure proper validation and encoding of lng and ns parameters to prevent directory traversal. Until upgraded, applications should avoid using untrusted input directly for these parameters or implement strict input validation and sanitization to block path traversal sequences. No vendor advisory was provided, so patch status is based on the CVE description. Patch status is confirmed by the statement that the issue has been patched in version 2.6.4.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-22T03:53:24.407Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69fe067ecbff5d8610f67297

Added to database: 05/08/2026, 15:51:26 UTC

Last enriched: 05/16/2026, 09:41:23 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 95

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses