External Control of File Name or Path Affecting i18next-fs-backend package, versions <2.6.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-I18NEXTFSBACKEND-16415529
  • published4 May 2026
  • disclosed22 Apr 2026
  • creditUnknown

Introduced: 22 Apr 2026

NewCVE-2026-41693  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade i18next-fs-backend to version 2.6.4 or higher.

Overview

i18next-fs-backend is an i18next-fs-backend is a backend layer for i18next using in Node.js and for Deno to load translations from the filesystem.

Affected versions of this package are vulnerable to External Control of File Name or Path that leads to raw interpolation of lng and ns values in the loadPath and addPath templates. An attacker can read arbitrary files by passing in traversal sequences such as ?lng=../../../../etc/passwd or overwrite files with the create path if saveMissing is enabled,

CVSS Base Scores

version 4.0
version 3.1