Skip to main content

i18n-node EUVDEUVD-2026-143540

| CVE-2026-144324 HIGH
Path Traversal (CWE-22)
2026-12-03 security-advisories@github.com
7.0
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply malicious locale via app input
  2. Exploit
    App forwards value to i18n.__() object-form API
  3. Execution
    getStorageFilePath path normalization escapes locales directory
  4. Impact
    Read JSON key/secret or write attacker-named file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the host application to pass attacker-controlled input as the locale property to the object-form API i18n.__({ phrase, locale }) or i18n.__n({ ..., locale }) on i18n <= 0.15.3; the raw locale is forwarded into getStorageFilePath, whose path.normalize collapses but does not reject '../' segments. The read vector returns only a named key from a valid JSON file (JSON config/secret disclosure, not arbitrary file read); the write vector (creating an attacker-named .json outside the locales directory) requires updateFiles:true (the default); the rename-based DoS requires a read that throws (e.g. a directory target or EACCES). Key LIMITING factors: applications that use only the i18n middleware or setLocale interface are not affected because those paths whitelist the locale against the configured set, and read targets must be parseable JSON.

Impact

This is a conditionally-reachable path traversal (CWE-22) rated CVSS 7.0 (High) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L. The signals are moderate and largely consistent: network vector and PR:N mean no authentication to the library itself is required, but AC:H correctly reflects that exploitation depends on a condition outside the attacker's control - the host application must forward unsanitized, attacker-controlled input as the locale value to the object-form API (i18n.__({phrase, locale}) / i18n.__n). Applications using only the middleware or setLocale interface are explicitly NOT affected because those paths whitelist the locale, so a large share of i18n deployments are not reachable at all. No EPSS score and no KEV status were provided in the input, and no weaponized public exploit is listed - the vuln.today decision label is 'this_week' (not act_now/emergency), indicating a prompt-but-not-urgent priority. The impact is real but bounded: reads are key-scoped and limited to parseable JSON files (config/secret disclosure, not arbitrary file read), writes require updateFiles:true, and the DoS vector is a narrow rename-on-failed-read. Net: a legitimate High-severity issue to patch this week for apps that pass user input as locale, but not a mass-exploitation emergency; the conditional reachability (AC:H) is the dominant risk-limiting factor.

Exploit ScenarioDerived

An application forwards an attacker-controlled request parameter (e.g. a language selector) directly as the locale to i18n.__({ phrase, locale }). The attacker sends a value such as '../../secret' so getStorageFilePath resolves outside the configured locales directory, returning the value of a named key from a JSON config/secret file, or - with updateFiles:true (default) - creating an attacker-named JSON file outside that directory. No weaponized public exploit was identified at time of analysis, though the fix commit includes a regression test demonstrating the traversal payloads; AC:H reflects that success depends on the application using the object-form API with unsanitized input.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 03, 2026

Path traversal in the npm i18n module (versions up to and including 0.15.3) allows an application that forwards untrusted input as the locale property of the object-form API (i18n.__({ phrase, locale }) or i18n.__n({ ..., locale })) to read a named key from an arbitrary JSON file, create attacker-named .json files outside the locales directory when updateFiles is enabled (the default), or force a narrow rename-based denial of service. Only hosts that pass attacker-controlled locale strings into the object form are exposed; deployments that use the middleware or setLocale interface are not affected because that path already restricts locales to the configured set, and read targets must be parseable JSON, which limits disclosure to JSON configuration and secrets. The flaw is fixed in 0.15.4, and no public exploit was identified at time of analysis - the published commit and accompanying regression test demonstrate the fix rather than offer working exploit code.

RemediationAI

Upgrade to i18n 0.15.4, which is the vendor-released fix and closes the read, write and rename vectors by validating the locale against ^[A-Za-z0-9_-]+$ and rejecting any path that resolves outside the configured locales directory; the vendor notes valid locales are unaffected by the change. If upgrading immediately is not possible, apply the documented workaround of validating or whitelisting the locale value before it reaches the object-form API - this is effective only if every call site is audited, since a single unvalidated passthrough reopens the traversal - or restrict the application to the middleware / setLocale interface, which already limits locales to the configured set. Setting updateFiles to false removes the file-creation vector but leaves the JSON read and the rename-based denial of service reachable, so it is a partial mitigation rather than a fix; the vendor presents updating as the complete remedy. Advisory details and the fixing commit are at https://github.com/mashpie/i18n-node/security/advisories/GHSA-f8q4-qj8c-66wp and https://github.com/mashpie/i18n-node/commit/91c86d8b50e42e3124d1430f30f1bec79234c645.

Affected VersionsENISA

i18n-node < 0.15.4

Affected Packages

euvd i18n_node fix: 0.15.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The i18n module is a lightweight translation layer for Node.js and Express.js that stores catalogs as JSON files on disk. getStorageFilePath constructs a path with path.normalize(directory + pathsep + prefix + locale + ext); path.normalize collapses redundant separators and '../' segments but does not reject them, so a crafted locale escapes the configured locales directory. The object-form API (i18n.__({ phrase, locale }) and i18n.__n({ ..., locale })) forwards the raw locale straight into that builder, bypassing the whitelist applied by the middleware and setLocale code paths, which is the root cause class CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). Three consequences follow from the advisory: a key-scoped read that returns the value at an attacker-named key of an arbitrary JSON file, with getCatalog able to expose a catalog already loaded this way; a write that creates an attacker-named .json file outside the locales directory when updateFiles is true; and a narrow rename to '<name>.invalid' when a read of an existing path throws (for example a directory or EACCES), causing a minor denial of service rather than a general rename primitive. The 0.15.4 commit 91c86d8 addresses all three vectors at a single choke point by rejecting locales that do not match ^[A-Za-z0-9_-]+$ and by verifying that both the resolved .json and .js paths stay under path.resolve(directory) + path.sep.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.0 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
vuln.today AI 7.0 HIGH

AC:H because success depends on the application forwarding unsanitized input to the object-form API; PR:N as no auth to the library is required; C:H for JSON secret disclosure, I:L/A:L for scoped write and narrow rename DoS.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch available
Dec 03, 2026 - 19:04 EUVD
CVE Published
Dec 03, 2026 - 18:17 cve.org
HIGH 7.0

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-144324 is a high-severity path traversal vulnerability in the npm i18n module (versions ≤0.15.3) that can lead to unauthorized access to JSON configuration files, creation of attacker-named JSON files, or denial of service. Applications that pass untrusted input as the locale parameter in the object-form API are at risk, potentially exposing sensitive data and disrupting operations. Leadership should prioritize remediation because this flaw could compromise confidentiality and availability of services relying on the affected component.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Medium
popular Node.js/Express translation library, common but not universally deployed
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy