CVE-2026-25521
Locutus brings stdlibs of other programming languages to JavaScript …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/locutusjs/locutus/commit/042af9ca7fde2ff599120783e720a17f335bb01c
- github.com/locutusjs/locutus/security/advisories/GHSA-rxrv-835q-v5mh
- nvd.nist.gov/vuln/detail/CVE-2026-25521
- github.com/advisories/GHSA-rxrv-835q-v5mh
- access.redhat.com/security/cve/CVE-2026-25521
- bugzilla.redhat.com/show_bug.cgi?id=2436950
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25521.json
- nvd.nist.gov/vuln/detail/CVE-2026-25521
- cve.org/CVERecord?id=CVE-2026-25521
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.