Skip to main content
VulnerabilityPublished Updated

CVE-2026-41693: i18next-fs-backend · External Control of File Name or Path

Affects i18next-fs-backendSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.2 High : upgrade to 2.6.4 soon.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.6.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade i18next-fs-backend and i18next/i18next-fs-backend to 2.6.4.

Affected software

ProductAffectedFixed in
i18nexti18next-fs-backendAffected
  • <2.6.4
Fixed in
  • 2.6.4
npmi18next/i18next-fs-backendpkg:npm/i18next/i18next-fs-backendOther threatsAffected
  • <2.6.4
Fixed in
  • 2.6.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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. Patch status is confirmed by the statement that the issue has been patched in version 2.6.4.

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.

References

Community reviews

Loading reviews…