{"id":"CVE-2026-144324","summary":"i18n: Path traversal via object-form locale in i18n (__, __n, getStorageFilePath)","details":"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.","aliases":["GHSA-f8q4-qj8c-66wp"],"modified":"2026-12-03T21:45:27.181809791Z","published":"2026-12-03T18:01:43.578Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144324.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144324.json"},{"type":"FIX","url":"https://github.com/mashpie/i18n-node/commit/91c86d8b50e42e3124d1430f30f1bec79234c645"},{"type":"WEB","url":"https://github.com/mashpie/i18n-node/releases/tag/v0.15.4"},{"type":"ADVISORY","url":"https://github.com/mashpie/i18n-node/security/advisories/GHSA-f8q4-qj8c-66wp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144324"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mashpie/i18n-node","events":[{"introduced":"0"},{"fixed":"e522e85624fd974d256581f151decb03bd704aed"},{"fixed":"91c86d8b50e42e3124d1430f30f1bec79234c645"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"0.15.4"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"91c86d8b50e42e3124d1430f30f1bec79234c645"}]},{"range":[{"fixed":"e522e85624fd974d256581f151decb03bd704aed"}],"source":"REFERENCES_TAG","original_tag":"v0.15.4"}]}}],"versions":["v.0.15.3","v0.15.2","0.14.0","0.13.3","0.13.2","0.8.1","0.7.0","0.6.0","0.5.0","0.4.1","0.4.0","0.3.9","0.3.8","0.3.7","0.3.6","0.3.5","0.3.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-144324.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L"}]}