# CVE-2023-30581: The use of proto in process.mainModule.proto.require() can bypass the policy mechanism and require modules outside of the policy.json defin…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A: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): 1.05%, higher than 65% of CVEs (2026-12-01)
- Published: 2023-11-22T23:28:30.768Z
- Modified: 2026-09-08T08:48:17.608Z
- Also known as: BIT-NODE-2023-30581, BIT-NODE-MIN-2023-30581
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: hackerone

## Description

The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20.

Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js

(As written by CVE List.)

## Affected

- NodeJS Node: from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; from 12.0 before 12.*; from 13.0 before 13.*; from 14.0 before 14.*; from 15.0 before 15.*; and 5 more
- nodejs node.js: from 16.0.0 before 16.20.1; from 18.0.0 before 18.16.1; from 20.0.0 before 20.3.1
- node (Bitnami): from 16.0.0 before 16.20.1; from 18.0.0 before 18.16.1; from 20.0.0 before 20.3.1
- node-min (Bitnami): from 16.0.0 before 16.20.1; from 18.0.0 before 18.16.1; from 20.0.0 before 20.3.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://nodejs.org/en/blog/vulnerability/june-2023-security-releases> (article, release-notes)
- <https://security.netapp.com/advisory/ntap-20241101-0011/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-30581> (web)

## Sources

- CVE List: [CVE-2023-30581](https://www.cve.org/CVERecord?id=CVE-2023-30581), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2023-30581](https://nvd.nist.gov/vuln/detail/CVE-2023-30581), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2023-30581](https://osv.dev/vulnerability/BIT-NODE-2023-30581), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2023-30581](https://osv.dev/vulnerability/BIT-NODE-MIN-2023-30581), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-30581 · Whole record: https://cve.day/CVE-2023-30581.json · Rebuilt by cve.day 2026-11-25T22:58:30.692Z
