Back to list

i18next-fs-backend: Path traversal via unsanitised lng/ns allows arbitrary file read/overwrite — CVE-2026-41693

GitHub · GitHub · CVE-2026-41693

ID
CVE-2026-41693
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
8.2
EPSS
0.0004

Summary

### Summary Versions of `i18next-fs-backend` prior to 2.6.4 interpolate the caller-supplied `lng` and `ns` values directly into the configured `loadPath` and `addPath` templates with no path-component validation and no sanitisation. When an application exposes the resolved language code to user-controlled input (`?lng=` query parameter, cookie, request header), a crafted value can break out of the intended locale…

Product

npm: i18next-fs-backend

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories