CVE-2026-144409: Vue I18n Prototype Pollution Vulnerability
HIGHCVE-2026-144409 is a HIGH (CVSS 7.3) prototype pollution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Vue I18n libraries in the npm ecosystem. The issue involves prototype pollution via the `locale` argument of `mergelocalemessage`, `mergedatetimeformat` and `mergenumberformat`. Remediation is available by upgrading affected packages to version 11.4.14, 12.0.0-alpha.5.
CVE-2026-144409 at a Glance
Security Impact
CVSS: 7.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2026-144409
To remediate this vulnerability, upgrade all affected Vue I18n dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install vue-i18n@Latest secure release
npm install vue-i18n@11.4.14
npm install vue-i18n@12.0.0-alpha.5
npm install petite-vue-i18n@11.4.14
npm install petite-vue-i18n@12.0.0-alpha.5
npm install @intlify/vue-i18n-core@11.4.14
npm install @intlify/vue-i18n-core@12.0.0-alpha.5
npm install vue-i18n-bridge@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls vue-i18n
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-144409, inspect your project dependencies using npm:
npm ls vue-i18n
Analyze the terminal output to locate any version of Vue I18n in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 11.4.14), your application is affected.
Note: The npm ls vue-i18n command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Vue I18n, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-144409 Affected Vue I18n Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vue-i18n
|
npm |
≥ 7.0.0
|
|
|
vue-i18n
|
npm |
≥ 9.0.0
< 11.4.14
|
11.4.14
|
|
vue-i18n
|
npm |
≥ 12.0.0-alpha.1
< 12.0.0-alpha.5
|
12.0.0-alpha.5
|
|
petite-vue-i18n
|
npm |
≥ 9.2.0-alpha.7
< 11.4.14
|
11.4.14
|
|
petite-vue-i18n
|
npm |
≥ 12.0.0-alpha.1
< 12.0.0-alpha.5
|
12.0.0-alpha.5
|
|
@intlify/vue-i18n-core
|
npm |
≥ 9.2.0-alpha.7
< 11.4.14
|
11.4.14
|
|
@intlify/vue-i18n-core
|
npm |
≥ 12.0.0-alpha.1
< 12.0.0-alpha.5
|
12.0.0-alpha.5
|
|
vue-i18n-bridge
|
npm |
≤ 10.0.0-alpha.1
|
|
References
Frequently Asked Questions
What is CVE-2026-144409?
Which Vue I18n versions are affected?
What version fixes CVE-2026-144409?
Is vue-i18n affected?
Is petite-vue-i18n affected?
What is the CVSS score of CVE-2026-144409?
What CWE is associated with CVE-2026-144409?
How can I check npm dependencies for CVE-2026-144409?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mp7h-j8pr-w35w",
"modified" : "2026-12-04T21:24:58Z",
"published" : "2026-12-04T21:24:58Z",
"aliases" : [ "CVE-2026-144409" ],
"summary" : "Vue I18n: Prototype Pollution via the `locale` argument of `mergeLocaleMessage`, `mergeDateTimeFormat` and `mergeNumberFormat`",
"details" : "### Summary\n\nIn vue-i18n v9 and later, `mergeLocaleMessage()`, `mergeDateTimeFormat()` and `mergeNumberFormat()` look up the entry to merge into with `container[locale]`. When the locale is the name of a property inherited from `Object.prototype`, this lookup returns a built-in object, and the methods write into it:\n\n- With `'__proto__'`, all three methods write into `Object.prototype`.\n- With `'constructor'`, `mergeDateTimeFormat()` and `mergeNumberFormat()` write into the global `Object`. A format with a key such as `keys` replaces `Object.keys`.\n- With the names of most other `Object.prototype` methods, such as `'toString'`, `mergeDateTimeFormat()` and `mergeNumberFormat()` write into those built-in functions.\n\n`setLocaleMessage()`, `setDateTimeFormat()` and `setNumberFormat()` do not write into built-in objects, but with `'__proto__'` they replace the prototype of the container: the `messages`, `datetimeFormats` or `numberFormats` object passed to `createI18n()` or `useI18n()`, which vue-i18n uses as is, without copying. The given object then supplies messages or formats for locales that have none of their own, in every instance that uses the same object.\n\nAn application that passes an untrusted value as the locale (for example, one taken from a URL parameter, a cookie or the `Accept-Language` header) lets an attacker pollute the global prototype chain, modify built-in objects, or inject messages. `useI18n({ useScope: 'global' })` passes the keys of its `messages`, `datetimeFormats` and `numberFormats` options to these methods as locales, so untrusted keys there (for example, from `JSON.parse`) have the same effect.\n\nThis affects the methods of the global and local composers (`i18n.global`, `useI18n()`) and of the Legacy API `VueI18n` instance (v9 to v11), in server-side rendering and in the browser. Stable releases of `petite-vue-i18n` have no datetime or number format APIs, so only `mergeLocaleMessage()` and `setLocaleMessage()` with `'__proto__'` apply there.\n\nvue-i18n v7 and v8 (for Vue 2) and `vue-i18n-bridge` are also affected:\n\n- From vue-i18n 7.0.2, `mergeDateTimeFormat()` and `mergeNumberFormat()` write into built-in objects, and so does `mergeLocaleMessage()` up to 8.15.2.\n- From vue-i18n 7.0.0 to 7.6.0, `setLocaleMessage()`, `setDateTimeFormat()` and `setNumberFormat()` with `'__proto__'` replace the prototype of the container, as described above. In 7.0.0 and 7.0.1, `mergeLocaleMessage()` with `'__proto__'` does the same.\n- `vue-i18n-bridge` is affected through `mergeDateTimeFormat()`, `mergeNumberFormat()` and the three setters.\n\n### Details\n\nThe three methods look up the object to merge into with `container[locale]`, and then copy into it ([composer.ts in v11.4.13](https://github.com/intlify/vue-i18n/blob/v11.4.13/packages/vue-i18n-core/src/composer.ts#L2532-L2592)):\n\n```ts\nfunction mergeLocaleMessage(locale, message) {\n _messages.value[locale] = _messages.value[locale] || {}\n // ...\n deepCopy(message, _messages.value[locale])\n}\n\nfunction mergeDateTimeFormat(locale, format) {\n _datetimeFormats.value[locale] = assign(_datetimeFormats.value[locale] || {}, format)\n // ...\n}\n\nfunction mergeNumberFormat(locale, format) {\n _numberFormats.value[locale] = assign(_numberFormats.value[locale] || {}, format)\n // ...\n}\n```\n\nThe containers are ordinary objects, so `container[locale]` also finds properties inherited from `Object.prototype`:\n\n- For `'__proto__'`, the lookup goes through the `__proto__` accessor and returns `Object.prototype`. `deepCopy()` and `assign()` (`Object.assign`) then copy the given keys onto `Object.prototype`. `deepCopy()` skips `__proto__` keys in its source (the fix for CVE-2024-52810), but it does not check its destination.\n- For `'constructor'`, the lookup returns the global `Object`, and `assign()` copies the given keys onto it. For `'toString'`, `'valueOf'` and most other methods of `Object.prototype`, it returns that built-in function. When the containers are Vue reactive proxies, as in the browser, Vue 3.2.46 and later return their own wrapper for `'hasOwnProperty'`, so that name writes into the wrapper instead. `mergeLocaleMessage()` throws `Invalid value` for these names, because `deepCopy()` throws when its destination is not an object.\n\n`setLocaleMessage()`, `setDateTimeFormat()` and `setNumberFormat()` assign with `container[locale] = value`. For `'__proto__'`, this calls the `__proto__` setter, which replaces the prototype of the container with the given object. The container is the object the application passed in, so every instance that uses the same object sees the change.\n\nv7, and v8 up to 8.3.0, merge with `Vue.util.extend(this._vm.dateTimeFormats[locale] || {}, format)`, and 8.3.1 and later with `merge(this._vm.dateTimeFormats[locale] || {}, format)` (the same for number formats). Both write into their first argument. From 7.0.2 to 8.15.2, `mergeLocaleMessage()` also merges into `this._vm.messages[locale] || {}`; 8.15.3 changed it to merge into a new object. Up to 7.6.0, the setters assign with `this._vm.messages[locale] = message` and so on; 7.7.0 changed them to `this._vm.$set()`. `vue-i18n-bridge` uses the composer above, but its `mergeLocaleMessage()` passes the call to the vue-i18n v8 instance it wraps before copying, and that instance stores a new object for the locale, so only the other methods are affected.\n\n### PoC\n\n`'__proto__'` with `mergeLocaleMessage()`:\n\n```bash\nnpm install vue-i18n@11.4.13 vue\nnode poc.mjs\n```\n\nOutput:\n\n```text\nBefore Attack: {}\nAfter Attack: {\"pollutedKey\":123}\n```\n\n```js\n// poc.mjs\nimport { createI18n } from 'vue-i18n'\n\nconst i18n = createI18n({ legacy: false, locale: 'en', messages: { en: {} } })\n\n// e.g. a locale taken from a URL parameter such as `?lang=__proto__`\nconst lang = '__proto__'\n\nconsole.log('Before Attack: ', JSON.stringify({}.__proto__))\ni18n.global.mergeLocaleMessage(lang, { pollutedKey: 123 })\nconsole.log('After Attack: ', JSON.stringify({}.__proto__))\n\ndelete Object.prototype.pollutedKey\n```\n\n`mergeDateTimeFormat('__proto__', format)` and `mergeNumberFormat('__proto__', format)` pollute `Object.prototype` in the same way.\n\n`'constructor'` with `mergeDateTimeFormat()`:\n\n```bash\nnode poc-constructor.mjs\n```\n\nOutput:\n\n```text\nBefore Attack: function\nAfter Attack: object\nTypeError: Object.keys is not a function\n```\n\n```js\n// poc-constructor.mjs\nimport { createI18n } from 'vue-i18n'\n\nconst i18n = createI18n({ legacy: false, locale: 'en', messages: { en: {} } })\n\n// e.g. a locale taken from a URL parameter such as `?lang=constructor`\nconst lang = 'constructor'\n\nconsole.log('Before Attack: ', typeof Object.keys)\ni18n.global.mergeDateTimeFormat(lang, { keys: { year: 'numeric' } })\nconsole.log('After Attack: ', typeof Object.keys)\n\ntry {\n Object.keys({})\n} catch (error) {\n console.log(String(error))\n}\n```\n\n`mergeNumberFormat('constructor', format)` has the same effect.\n\n`'__proto__'` with `setLocaleMessage()`:\n\n```bash\nnode poc-set.mjs\n```\n\nOutput:\n\n```text\nBefore Attack: hello\nAfter Attack: injected\n```\n\n```js\n// poc-set.mjs\nimport { createI18n } from 'vue-i18n'\n\nconst i18n = createI18n({\n legacy: false,\n locale: 'ja',\n fallbackLocale: 'en',\n missingWarn: false,\n fallbackWarn: false,\n messages: { en: { hello: 'hello' } }\n})\n\nconsole.log('Before Attack: ', i18n.global.t('hello'))\n// e.g. a locale taken from a URL parameter such as `?lang=__proto__`\ni18n.global.setLocaleMessage('__proto__', { ja: { hello: 'injected' } })\nconsole.log('After Attack: ', i18n.global.t('hello'))\n```\n\n### Impact\n\nApplications are affected when an attacker can control the `locale` argument of these methods, or the keys of the `messages`, `datetimeFormats` or `numberFormats` options of `useI18n({ useScope: 'global' })`. For example, an application that loads messages for the locale in the URL:\n\n```js\n// e.g. /:lang/... routes\nconst lang = route.params.lang // attacker-controlled\nconst messages = await fetch(`/api/messages/${lang}`).then(res => res.json())\ni18n.global.mergeLocaleMessage(lang, messages)\n```\n\n- With `'__proto__'`, the keys of the merged object end up on `Object.prototype`, even when the attacker does not control that object. Almost every object in the page inherits them, and during server-side rendering, so does every later request in the same process.\n- With `'constructor'` (`mergeDateTimeFormat()` and `mergeNumberFormat()`, and in vue-i18n 7.0.2 to 8.15.2 also `mergeLocaleMessage()`), the keys of the merged object end up on the global `Object`. If the attacker also controls that object, they can replace methods such as `Object.keys` and break the page or the server process.\n- With other names, such as `'toString'`, the keys of the merged object end up on that built-in function. If the attacker also controls that object, they can, for example, shadow `Object.prototype.toString.call`, which Vue and vue-i18n use, and break the page or the server process.\n- With `'__proto__'`, the setters let the given object supply messages or formats for locales that have none of their own, in every instance that shares the same `messages`, `datetimeFormats` or `numberFormats` object. During server-side rendering, this can include later requests from other users.\n\nDepending on the application and its dependencies, this can lead to denial of service, bypassed checks, or worse through prototype pollution gadgets.\n\n### Workarounds\n\nIf you cannot upgrade yet, for example because you are on v7 to v10 or use `vue-i18n-bridge`:\n\n- Check the locale against the locales your application supports before passing it to these methods, including `setLocaleMessage()`, `setDateTimeFormat()` and `setNumberFormat()`.\n- Do not pass untrusted objects as the `messages`, `datetimeFormats` or `numberFormats` options of `useI18n({ useScope: 'global' })`.\n\n```js\nconst SUPPORTED_LOCALES = ['en', 'ja']\n\nif (SUPPORTED_LOCALES.includes(lang)) {\n i18n.global.mergeLocaleMessage(lang, messages)\n}\n```\n\n### Patches\n\nTBD: fixed in the v11 and v12 alpha releases of `vue-i18n`, `petite-vue-i18n` and `@intlify/vue-i18n-core`. The fix also covers `setLocaleMessage()`, `setDateTimeFormat()` and `setNumberFormat()`.\n\nv7 to v10 and `vue-i18n-bridge` are no longer supported and will not be fixed. Please migrate to v11.\n\n### Related\n\n- [OWASP Prototype Pollution Prevention Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Prototype_Pollution_Prevention_Cheat_Sheet.html)\n- [GHSA-hjwq-mjwj-4x6c](https://github.com/intlify/vue-i18n/security/advisories/GHSA-hjwq-mjwj-4x6c) (CVE-2024-52810): prototype pollution in `deepCopy()` through its source",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "vue-i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 9.0.0"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "vue-i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0"
}, {
"fixed" : "11.4.14"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 11.4.13"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "vue-i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0-alpha.1"
}, {
"fixed" : "12.0.0-alpha.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 12.0.0-alpha.4"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "petite-vue-i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.2.0-alpha.7"
}, {
"fixed" : "11.4.14"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 11.4.13"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "petite-vue-i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0-alpha.1"
}, {
"fixed" : "12.0.0-alpha.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 12.0.0-alpha.4"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/vue-i18n-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.2.0-alpha.7"
}, {
"fixed" : "11.4.14"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 11.4.13"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@intlify/vue-i18n-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0-alpha.1"
}, {
"fixed" : "12.0.0-alpha.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 12.0.0-alpha.4"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "vue-i18n-bridge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "10.0.0-alpha.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/security/advisories/GHSA-mp7h-j8pr-w35w"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-144409"
}, {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/pull/2681"
}, {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/commit/0218ce4a9b4d2b67633a8c53cb627a2a625a6c94"
}, {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/commit/644f9c586e56758731c0ce7b1a52998ad782d6a9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/intlify/vue-i18n"
}, {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/releases/tag/v11.4.14"
}, {
"type" : "WEB",
"url" : "https://github.com/intlify/vue-i18n/releases/tag/v12.0.0-alpha.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321", "CWE-915" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-04T21:24:58Z",
"nvd_published_at" : "2026-12-03T20:17:48Z"
}
}