Skip to main content
CVE-2026-25521VulnerabilityPublished Updated

CVE-2026-25521: locutusjs locutus · Prototype Pollution

Affects locutusjs locutusSource CVE Database V5

0

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

CVSS 4.0 base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
locutusjslocutusAffected
  • >=2.0.12 <2.0.39
Fixed in
  • 2.0.39
npmlocutusjs/locutuspkg:npm/locutusjs/locutusOther threatsAffected
  • >=2.0.12 <2.0.39
Fixed in
  • 2.0.39

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

Community reviews

Loading reviews…