CVE-2026-25521: locutusjs locutus · Prototype Pollution
Affects locutusjs locutusSource CVE Database V5
Not known to be exploited · CVSS 9.4 Critical : upgrade to 2.0.39 as a priority.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.39
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade locutus and locutusjs/locutus to 2.0.39.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| locutusjslocutus | Affected
| Fixed in
|
npmlocutusjs/locutuspkg:npm/locutusjs/locutusOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade locutus to version 2.0.39 or later, where this prototype pollution vulnerability is patched. No other mitigations are indicated by the vendor advisory.
Description
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.
References
- github.com/locutusjs/locutus/security/advisories/GHSA-rxrv-835q-v5mh (opens in a new tab)
- github.com/locutusjs/locutus/commit/042af9ca7fde2ff599120783e720a17f335bb01c (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-25521 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2436950 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25521.json (opens in a new tab)