CVE-2026-144324
HIGH 7.0CVSS 3.1i18n: Path traversal via object-form locale in i18n (__, __n, getStorageFilePath)
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-22
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | mashpie | i18n-node | = < 0.15.4 |
References
- https://github.com/mashpie/i18n-node/commit/91c86d8b50e42e3124d1430f30f1bec79234c645 · x_refsource_MISC
- https://github.com/mashpie/i18n-node/releases/tag/v0.15.4 · x_refsource_MISC
- https://github.com/mashpie/i18n-node/security/advisories/GHSA-f8q4-qj8c-66wp · x_refsource_CONFIRM
History
- 3 Dec 2026 21:56 UTC · NVD: updated (other details)
- 3 Dec 2026 20:56 UTC · CVE List: updated (other details)
- 3 Dec 2026 19:56 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 18:56 UTC · CVE List: first stored (published 3 Dec 2026)