Home › CVE › JavaScript
CVE-2026-144324 — mashpie i18n-node
Summary
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.
Severity breakdown
High · 7.0
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, low on integrity and availability
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| mashpie i18n-node | < 0.15.4 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- mashpie i18n-node
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is 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. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).
How severe is CVE-2026-144324?
CVE-2026-144324 has a CVSS 3.1 base score of 7.0 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-144324 being exploited?
Not as far as is known: CVE-2026-144324 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026.
Which versions are affected by CVE-2026-144324?
mashpie i18n-node < 0.15.4.
How do I fix CVE-2026-144324?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.