Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. locutus
  4. ›
  5. CVE-2026-25521

CVE-2026-25521: locutus is vulnerable to Prototype Pollution

February 2, 2026 (updated February 3, 2026)

A Prototype Pollution vulnerability exists in the the npm package locutus (>2.0.12). 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 was fixed in version 2.0.39.

References

  • github.com/advisories/GHSA-rxrv-835q-v5mh
  • github.com/locutusjs/locutus
  • github.com/locutusjs/locutus/commit/042af9ca7fde2ff599120783e720a17f335bb01c
  • github.com/locutusjs/locutus/security/advisories/GHSA-rxrv-835q-v5mh
  • nvd.nist.gov/vuln/detail/CVE-2026-25521

Code Behaviors & Features

Detect and mitigate CVE-2026-25521 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.12 before 2.0.39

Fixed versions

  • 2.0.39

Solution

Upgrade to version 2.0.39 or above.

Impact 9.3 CRITICAL

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/locutus/CVE-2026-25521.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:44 +0000.