CVE-2026-41646: Nuclei: Local File Read via require() Module Loader Bypass
CVE-2026-41646 · Severity: medium · CVSS 5.5 · Published 2026-05-08
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.
Yes. github.com/projectdiscovery/nuclei/v3 (Go): upgrade to 3.8.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-41646?
Check whether you run github.com/projectdiscovery/nuclei (Go), github.com/projectdiscovery/nuclei/v2 (Go), github.com/projectdiscovery/nuclei/v3 (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
github.com/projectdiscovery/nuclei/v3 (Go): upgrade to 3.8.0 or later
go get github.com/projectdiscovery/nuclei/v3@v3.8.0