CVE-2026-144324

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.
Configurations

No configuration.

History

03 Dec 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-03 18:17

Updated : 2026-12-03 21:18


NVD link : CVE-2026-144324

Mitre link : CVE-2026-144324

CVE.ORG link : CVE-2026-144324


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')