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.
Published: 2026-12-03
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Dec 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Mashpie
Mashpie i18n-node
Vendors & Products Mashpie
Mashpie i18n-node

Thu, 03 Dec 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 03 Dec 2026 18:15:00 +0000

Type Values Removed Values Added
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.
Title i18n: Path traversal via object-form locale in i18n (__, __n, getStorageFilePath)
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L'}


Subscriptions

Mashpie I18n-node
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-03T20:11:42.240Z

Reserved: 2026-12-03T17:44:46.575Z

Link: CVE-2026-144324

cve-icon Vulnrichment

Updated: 2026-12-03T20:11:25.828Z

cve-icon NVD

Status : Received

Published: 2026-12-03T18:17:27.380

Modified: 2026-12-03T21:18:09.693

Link: CVE-2026-144324

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-04T22:32:52Z

Weaknesses
  • CWE-22

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