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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| locutusjs | locutus | >= 2.0.12, < 2.0.39 |
| Red Hat | Logging Subsystem for Red Hat OpenShift | — |
| Red Hat | Logging Subsystem for Red Hat OpenShift | — |
| Red Hat | Logging Subsystem for Red Hat OpenShift | — |
| Red Hat | Logging Subsystem for Red Hat OpenShift | — |
| Red Hat | Logging Subsystem for Red Hat OpenShift | — |
| Red Hat | Logging Subsystem for Red Hat OpenShift | — |
References
- https://github.com/locutusjs/locutus/commit/042af9ca7fde2ff599120783e720a17f335bb01cPatch
- https://github.com/locutusjs/locutus/security/advisories/GHSA-rxrv-835q-v5mhExploit, Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-25521
- https://bugzilla.redhat.com/show_bug.cgi?id=2436950
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25521.json
Timeline
- Published
- Feb 4, 2026
- Last modified
- Jul 15, 2026
- NVD status
- Modified