CVE-2026-41646
Nuclei: Local File Read via require() Module Loader Bypass
Description
Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From version 3.0.0 to before version 3.8.0, a vulnerability in Nuclei's JavaScript protocol runtime allows JavaScript templates to read local .js and .json files through the require() function, bypassing the default local file access restriction. This issue has been patched in version 3.8.0.
INFO
Published Date :
May 8, 2026, 4:16 a.m.
Last Modified :
May 8, 2026, 7:42 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update Nuclei to version 3.8.0 or later.
- Verify updated version has security fixes.
- Review JavaScript templates for potential risks.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-41646.
| URL | Resource |
|---|---|
| https://github.com/projectdiscovery/nuclei/commit/6f2ade6a9b427c284c15a43445f9c7f055e60e5d | Patch |
| https://github.com/projectdiscovery/nuclei/pull/7332 | Issue Tracking Patch |
| https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-29rg-wmcw-hpf4 | Mitigation Patch Vendor Advisory |
| https://github.com/projectdiscovery/nuclei/pull/7332 | Issue Tracking Patch |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-41646 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-41646
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-41646 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-41646 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 08, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:projectdiscovery:nuclei:*:*:*:*:*:go:*:* versions from (including) 3.0.0 up to (excluding) 3.8.0 Added Reference Type GitHub, Inc.: https://github.com/projectdiscovery/nuclei/commit/6f2ade6a9b427c284c15a43445f9c7f055e60e5d Types: Patch Added Reference Type CISA-ADP: https://github.com/projectdiscovery/nuclei/pull/7332 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/projectdiscovery/nuclei/pull/7332 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-29rg-wmcw-hpf4 Types: Mitigation, Patch, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
May. 08, 2026
Action Type Old Value New Value Added Reference https://github.com/projectdiscovery/nuclei/pull/7332 -
New CVE Received by [email protected]
May. 08, 2026
Action Type Old Value New Value Added Description Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From version 3.0.0 to before version 3.8.0, a vulnerability in Nuclei's JavaScript protocol runtime allows JavaScript templates to read local .js and .json files through the require() function, bypassing the default local file access restriction. This issue has been patched in version 3.8.0. Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N Added CWE CWE-284 Added Reference https://github.com/projectdiscovery/nuclei/commit/6f2ade6a9b427c284c15a43445f9c7f055e60e5d Added Reference https://github.com/projectdiscovery/nuclei/pull/7332 Added Reference https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-29rg-wmcw-hpf4