# CVE-2023-32006: The use of module.constructor.createRequire() can bypass the policy mechanism and require modules outside of the policy.json definition for…

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A: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): 1.54%, higher than 75% of CVEs (2026-12-01)
- Published: 2023-08-15T15:10:09.447Z
- Modified: 2026-09-08T08:48:17.625Z
- Also known as: BIT-NODE-2023-32006, BIT-NODE-MIN-2023-32006
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: hackerone

## Description

The use of `module.constructor.createRequire()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module.

This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x, and, 20.x.

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 up to 16.20.1; from 18.0.0 up to 18.17.0; from 20.0.0 up to 20.5.0
- fedoraproject fedora: 37; 38
- node (Bitnami): before 16.20.2; from 17.0.0 before 18.17.1; from 19.0.0 before 20.5.1
- node-min (Bitnami): before 16.20.2; from 17.0.0 before 18.17.1; from 19.0.0 before 20.5.1

## Every score

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

## References

- <https://hackerone.com/reports/2043807> (issue-tracking, report)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/> (discussion, mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/> (discussion, mailing-list)
- <https://security.netapp.com/advisory/ntap-20230915-0009/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-32006> (web)

## Sources

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

---

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