CVE-2026-25521
published critical CVSS 4.0 · 9.4Locutus is vulnerable to Prototype Pollution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| locutusjs | — | locutus>= 2.0.12, < 2.0.39 | Affected | Not stated | GitHub_M |
| Red Hat | — | openshift-logging/elasticsearch6-rhel9Logging Subsystem for Red Hat OpenShift | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-logging/elasticsearch-operator-bundleLogging Subsystem for Red Hat OpenShift | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-logging/elasticsearch-proxy-rhel9Logging Subsystem for Red Hat OpenShift | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-logging/elasticsearch-rhel9-operatorLogging Subsystem for Red Hat OpenShift | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-logging/kibana6-rhel8Logging Subsystem for Red Hat OpenShift | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-logging/logging-curator5-rhel9Logging Subsystem for Red Hat OpenShift | Unaffected | Not required | redhat-SADP |
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.
A prototype pollution flaw has been discovered in the Locutus npm library. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.3 | critical | redhat-SADP · adp | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| locutusjs | locutus | >= 2.0.12, < 2.0.39 (affected) | GitHub_M · cna |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: unaffected | redhat-SADP · adp |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: unaffected | redhat-SADP · adp |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: unaffected | redhat-SADP · adp |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: unaffected | redhat-SADP · adp |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: unaffected | redhat-SADP · adp |
| Red Hat | Logging Subsystem for Red Hat OpenShift | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-1321 CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
5- https://access.redhat.com/security/cve/CVE-2026-25521
- RHBZ#2436950 https://bugzilla.redhat.com/show_bug.cgi?id=2436950
- https://github.com/locutusjs/locutus/commit/042af9ca7fde2ff599120783e720a17f335bb01c
- https://github.com/locutusjs/locutus/security/advisories/GHSA-rxrv-835q-v5mh
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25521.json
Provider assertions
3GitHub_M · cna
Locutus is vulnerable to Prototype Pollution
redhat-SADP · adp
locutus: Locutus is vulnerable to Prototype Pollution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a1e5f7c27cfb07cfcc9e41afcb96a0902922da20e898931d8147f112320a4413
- Ingested
- 23 Sep 2026, 09:06:52 UTC
- Source record
- Official CVE record