CVE-2023-30581

nodejs: mainModule.proto bypass experimental policy mechanism

Published Nov 22, 2023 CVSS 3.1 · 7.5 High EPSS 1.1% KEV · Not listed
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

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5589-1 nodejs security update
EUVD EUVD EUVD-2023-34962 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
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-862
Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Nov 3, 2025, 9:48 PM
Reserved
Apr 13, 2023, 1:00 AM
Status
Modified
Published
Nov 23, 2023, 12:15 AM
Modified
Jun 17, 2026, 5:55 AM
Severity
Moderate
Public date
Jun 20, 2023, 12:00 AM