Path traversal in i18next-fs-backend - CVE-2026-41693
Published: November 10, 2026
Vulnerability details
The vulnerability allows a remote attacker to read or overwrite files outside the intended locale directory, subject to the Node process's filesystem privileges.
The vulnerability exists due to path traversal in i18next-fs-backend when unvalidated lng or ns values are interpolated into loadPath or addPath templates. A remote attacker can supply crafted language or namespace values, such as ?lng=../../../../etc/passwd, to read files or, when saveMissing is enabled and attacker-controlled values are forwarded, overwrite files with attacker-controlled JSON.