9.4Critical

CVE-2026-25521Locutus is vulnerable to Prototype Pollution

locutusjs locutus; Red Hat Logging Subsystem for Red Hat OpenShift Published: (9 months ago)

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.

Weakness (CWE): CWE-1321CWE-915

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
locutus locutus 2.0.12 – < 2.0.39
locutusjs locutus >= 2.0.12, < 2.0.39
Red Hat Logging Subsystem for Red Hat OpenShift —

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:locutus:locutus:*:*:*:*:*:node.js:*:* ≥ 2.0.12 < 2.0.39