CVE-2026-41693
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedi18next-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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencei18next-fs-backend versions before 2.6.4 suffer from a path traversal vulnerability where lng and ns options are directly interpolated into file path templates without encoding or validation. Attackers can supply malicious values containing ../ sequences to read or write files outside the intended locale directory, such as ?lng=../../../../etc/passwd.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed i18next-fs-backend versionRun 'npm list i18next-fs-backend' or check package.json dependencies to see the exact version installedAffected if version is below 2.6.4 (e.g., 2.6.3, 2.6.0, 2.5.0, etc.)
-
Verify i18next configuration uses fs-backendExamine your i18next initialization code and look for 'i18next-fs-backend' in the backend configuration section (the 'backend' option with 'loadPath' template)Affected if the fs-backend module is configured as the i18next backend
-
Inspect how lng and ns parameters reach the backendSearch your codebase for where i18next's 'changeLanguage' or 'loadNamespace' is called, and trace whether the lng/ns arguments come directly from HTTP request parameters (req.params, req.query, body) without sanitizationAffected if lng or ns values are passed from untrusted user input without validation
-
Test for path traversal in lng parameterTemporarily make a request to your i18next endpoint with lng=../../../../etc/passwd (or similar) and observe if the response reveals file contents outside your locale directoryAffected if the backend returns content from files outside the intended locales folder (path traversal succeeds)
You are affected if i18next-fs-backend version is below 2.6.4 AND your application passes unsanitized lng/ns parameters from user requests to the backend, allowing attackers to use ../ sequences to access arbitrary files.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to version 2.6.4 or later. If upgrade is not immediately possible, validate and sanitize lng/ns parameters to reject path traversal sequences (..), control characters, and unexpected patterns before they reach the backend.
i18next-fs-backend version 2.6.4 or later
- Check the current version of i18next-fs-backend in your project (e.g., npm list i18next-fs-backend)
- Upgrade to version 2.6.4 or later (e.g., npm install [email protected] or npm install i18next-fs-backend@latest)
- Test that translations load and save correctly after the upgrade to verify functionality is intact
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-41693 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-41693 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data