# CVE-2026-33993: Locutus has Prototype Pollution via __proto__ Key Injection in unserialize()

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- 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.66%, higher than 52% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-27T17:57:39.000Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-4mph-v827-f877
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to version 3.0.25, the `unserialize()` function in `locutus/php/var/unserialize` assigns deserialized keys to plain objects via bracket notation without filtering the `__proto__` key. When a PHP serialized payload contains `__proto__` as an array or object key, JavaScript's `__proto__` setter is invoked, replacing the deserialized object's prototype with attacker-controlled content. This enables property injection, for...in propagation of injected properties, and denial of service via built-in method override. This is distinct from the previously reported prototype pollution in `parse_str` (GHSA-f98m-q3hr-p5wq, GHSA-rxrv-835q-v5mh) — `unserialize` is a different function with no mitigation applied. Version 3.0.25 patches the issue.

(As written by CVE List.)

## Affected

- locutusjs locutus: < 3.0.25
- locutus (npm): before 3.0.25
- locutus locutus: before 3.0.25

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/locutusjs/locutus/security/advisories/GHSA-4mph-v827-f877> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/locutusjs/locutus/pull/597> (issue-tracking, web)
- <https://github.com/locutusjs/locutus/commit/345a6211e1e6f939f96a7090bfeff642c9fcf9e4> (patch, web)
- <https://github.com/locutusjs/locutus/releases/tag/v3.0.25> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33993> (advisory)
- <https://github.com/locutusjs/locutus> (package)

## Sources

- CVE List: [CVE-2026-33993](https://www.cve.org/CVERecord?id=CVE-2026-33993), CVE Terms of Use, modified 2026-03-30
- GitHub Advisory Database: [GHSA-4mph-v827-f877](https://github.com/advisories/GHSA-4mph-v827-f877), CC-BY-4.0, modified 2026-03-30
- NVD: [CVE-2026-33993](https://nvd.nist.gov/vuln/detail/CVE-2026-33993), Public domain, modified 2026-10-26

---

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