CVE-2026-144324

7.0High

Published Dec 3, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.0CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
None
User action
None
Impact
High impact on confidentiality
Weakness
CWE-22

What an attacker gets

Remote attackers can read arbitrary JSON files or perform limited file operations if they control the locale parameter passed to i18n functions. This requires the application to pass unsanitized user input directly into the locale field of i18n.__ or i18n.__n.

Root cause

The getStorageFilePath function fails to sanitize path traversal sequences in the locale parameter.

Affected versions

i18n prior to 0.15.4

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L

Fix & remediation

Upgrade to i18n version 0.15.4 or later. Ensure that user-supplied input is never passed directly to the locale parameter in i18n.__ or i18n.__n calls.

remediation — bash
$ npm install i18n@0.15.4

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

i18n is a lightweight translation module for Node.js and Express.js with dynamic JSON storage. Prior to 0.15.4, i18n.__({ phrase, locale }) and i18n.__n({ ..., locale }) pass an unsanitized locale to getStorageFilePath, whose path normalization does not reject traversal outside the configured locales directory. An application that forwards attacker-controlled locale values can read a named key from a valid JSON file, expose a previously loaded catalog through getCatalog, create an attacker-named JSON file when updateFiles is enabled, or cause a narrow denial of service by renaming a path after a failed read. Applications using only middleware or setLocale are not affected because that path restricts locales to the configured set. This issue is fixed in version 0.15.4.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-144324

More fully triaged vulnerabilities you may want to check next.