# CVE-2026-25521: Locutus is vulnerable to Prototype Pollution

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-02T22:21:54.000Z
- Modified: 2026-10-05T15:45:04.416Z
- Also known as: GHSA-rxrv-835q-v5mh
- Weaknesses: CWE-915, CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- locutusjs locutus: >= 2.0.12, < 2.0.39
- openshift-logging/elasticsearch6-rhel9: no versions given
- openshift-logging/elasticsearch-operator-bundle: no versions given
- openshift-logging/elasticsearch-proxy-rhel9: no versions given
- openshift-logging/elasticsearch-rhel9-operator: no versions given
- openshift-logging/kibana6-rhel8: no versions given
- openshift-logging/logging-curator5-rhel9: no versions given
- locutus (npm): from 2.0.12 before 2.0.39
- locutus locutus: from 2.0.12 before 2.0.39

## Every score

- GitHub_M: CVSS:4.0 9.4 Critical `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`
- redhat-SADP: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/locutusjs/locutus/security/advisories/GHSA-rxrv-835q-v5mh> (exploit, vendor-advisory, web)
- <https://github.com/locutusjs/locutus/commit/042af9ca7fde2ff599120783e720a17f335bb01c> (patch, web)
- <https://access.redhat.com/security/cve/CVE-2026-25521> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2436950> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25521.json> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25521> (advisory)
- <https://github.com/locutusjs/locutus> (package)

## Sources

- CVE List: [CVE-2026-25521](https://www.cve.org/CVERecord?id=CVE-2026-25521), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-rxrv-835q-v5mh](https://github.com/advisories/GHSA-rxrv-835q-v5mh), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-25521](https://nvd.nist.gov/vuln/detail/CVE-2026-25521), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-25521 · Whole record: https://cve.day/CVE-2026-25521.json · Rebuilt by cve.day 2026-11-25T22:59:13.508Z
