# CVE-2023-30586: A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission m…

- 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.35%, higher than 72% of CVEs (2026-12-01)
- Published: 2023-06-30T23:40:08.238Z
- Modified: 2026-09-08T08:48:17.639Z
- Also known as: BIT-NODE-2023-30586, BIT-NODE-MIN-2023-30586
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: hackerone

## Description

A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission model is enabled, which can bypass and/or disable the permission model. The attack complexity is high. However, the crypto.setEngine() API can be used to bypass the permission model when called with a compatible OpenSSL engine. The OpenSSL engine can, for example, disable the permission model in the host process by manipulating the process's stack memory to locate the permission model Permission::enabled_ in the host process's heap memory. Please note that at the time this CVE was issued, the permission model 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 3 more
- nodejs node.js: from 20.0.0 before 20.3.1
- node (Bitnami): from 20.0.0 before 20.3.1
- node-min (Bitnami): 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://hackerone.com/reports/1954535> (advisory, issue-tracking, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230803-0008/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-30586> (web)

## Sources

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

---

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