SecurityContext

CVE-2026-33994: Locutus - Prototype Pollution

  • Cve: CVE-2026-33994
  • Name: Locutus - Prototype Pollution
  • Description: Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Starting in version 2.0.39 and prior to version 3.0.25, a prototype pollution vulnerability exists in the `parse_str` function of the npm package locutus. An attacker can pollute `Object.prototype` by overriding `RegExp.prototype.test` and then passing a crafted query string to `parse_str`, bypassing the prototype pollution guard. This vulnerability stems from an incomplete fix for CVE-2026-25521. The CVE-2026-25521 patch replaced the `String.prototype.includes()`-based guard with a `RegExp.prototype.test()`-based guard. However, `RegExp.prototype.test` is itself a writable prototype method that can be overridden, making the new guard bypassable in the same way as the original — trading one hijackable built-in for another. Version 3.0.25 contains an updated fix.
  • Impact: Attackers can modify Object.prototype, potentially leading to application logic corruption or denial of service.
  • Remediation: Update to version 3.0.25 or later.
  • Vulnerability type: prototype_pollution
  • Vulnerability impact: data_tampering, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00631
  • Epss percentile: 0.51191
  • Assignee: [email protected]
  • Published at: 2026-03-27T23:17:14Z
  • Age in days: 242
  • Modified at: 2026-10-26T22:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-33994
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-1321Improperly Controlled Modification of Object Prototype Attributes

Public exploits

UrlSourceAdded date
https://github.com/locutusjs/locutus/security/advisories/GHSA-vc8f-x9pp-wf5pnvd2026-03-27

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/locutusjs/locutus/commit/345a6211e1e6f939f96a7090bfeff642c9fcf9e4Patch
https://github.com/locutusjs/locutus/security/advisories/GHSA-vc8f-x9pp-wf5pExploit, Vendor Advisory
https://github.com/locutusjs/locutus/pull/597Issue Tracking
https://github.com/locutusjs/locutus/releases/tag/v3.0.25Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
locutus:locutus>= 2.0.39, < 3.0.25nonvd/v1/products/locutus/locutus

Projects

RepositoryLink kindsIndexedUrl
locutusjs/locutuscommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/locutusjs/locutus

Index

  • Repositories: 2
  • Repositories high signal: 2
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-03-27
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts