CVE-2026-25521
CRITICAL 9.4CVSS 4.0locutus is vulnerable to Prototype Pollution
Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. In versions from 2.0.12 to before 2.0.39, a prototype pollution vulnerability exists in locutus. Despite a previous fix that attempted to mitigate prototype pollution by checking whether user input contained a forbidden key, it is still possible to pollute Object.prototype via a crafted input using String.prototype. This issue has been patched in version 2.0.39.
- Published
- 4 Feb 2026
- Last modified
- 5 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1321CWE-915
- Also known as
- GHSA-rxrv-835q-v5mh
- Sources
- NVDJSONOSV GHSA-rxrv-835q-v5mhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.4 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | locutus | locutuscpe:2.3:a:locutus:locutus:*:*:*:*:*:node.js:*:* |
>= 2.0.12, < 2.0.39 | 2.0.39 |
| OSV | npm | locutus | >= 2.0.12, < 2.0.39 | 2.0.39 |
References
- https://github.com/locutusjs/locutus/commit/042af9ca7fde2ff599120783e720a17f335bb01c · Patch, WEB
- https://github.com/locutusjs/locutus/security/advisories/GHSA-rxrv-835q-v5mh · Exploit, Vendor Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2026-25521 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2436950 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25521.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25521 · ADVISORY
- https://github.com/locutusjs/locutus · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 4 Feb 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Feb 2026)