# CVE-2026-41646: Nuclei: Local File Read via require() Module Loader Bypass

Source: https://junglewise.ai/threats/cve-2026-41646-nuclei-local-file-read-via-require-module-loader-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-08. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

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.

Technologies: [github.com/projectdiscovery/nuclei (Go)](https://junglewise.ai/threats/technologies/github-com-projectdiscovery-nuclei), [github.com/projectdiscovery/nuclei/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-projectdiscovery-nuclei-v2), [github.com/projectdiscovery/nuclei/v3 (Go)](https://junglewise.ai/threats/technologies/github-com-projectdiscovery-nuclei-v3), [ProjectDiscovery Nuclei](https://junglewise.ai/threats/technologies/nuclei). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [ProjectDiscovery](https://junglewise.ai/threats/vendors/projectdiscovery).

## Quick answers

**Is CVE-2026-41646 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-41646 being exploited in the wild.

**How severe is CVE-2026-41646?** Medium severity, with a CVSS score of 5.5, published 8 May 2026.

**Which products and versions are affected?** github.com/projectdiscovery/nuclei (Go) SEMVER:introduced=0; github.com/projectdiscovery/nuclei/v2 (Go) SEMVER:introduced=0; github.com/projectdiscovery/nuclei/v3 (Go) >= 3.0.0, < 3.8.0, SEMVER:introduced=3.0.0,fixed=3.8.0.

**Is there a fix for CVE-2026-41646?** 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

  ```sh
  go get github.com/projectdiscovery/nuclei/v3@v3.8.0
  ```


## Affected products

- github.com/projectdiscovery/nuclei (Go) SEMVER:introduced=0
- github.com/projectdiscovery/nuclei/v2 (Go) SEMVER:introduced=0
- github.com/projectdiscovery/nuclei/v3 (Go) >= 3.0.0, < 3.8.0, SEMVER:introduced=3.0.0,fixed=3.8.0
- ProjectDiscovery Nuclei

## Identifiers

- CVE-2026-41646
- GHSA-29rg-wmcw-hpf4
- GO-2026-4965

## References

- [https://api.github.com/users/AkashHamal0x01](https://api.github.com/users/AkashHamal0x01)
- [https://github.com/AkashHamal0x01](https://github.com/AkashHamal0x01)
- [https://api.github.com/users/AkashHamal0x01/gists%7B/gist_id%7D](https://api.github.com/users/AkashHamal0x01/gists%7B/gist_id%7D)
- [https://api.github.com/users/AkashHamal0x01/repos](https://api.github.com/users/AkashHamal0x01/repos)
- [https://avatars.githubusercontent.com/u/103249298?v=4](https://avatars.githubusercontent.com/u/103249298?v=4)
- [https://api.github.com/users/AkashHamal0x01/events%7B/privacy%7D](https://api.github.com/users/AkashHamal0x01/events%7B/privacy%7D)

## Related threats

- [Rejected reason: Further research determined the issue results from a dependency.](https://junglewise.ai/threats/cve-2026-76819-projectdiscovery-nuclei-arbitrary-code-execution-via-goja)
- [Nuclei environment variable disclosure in DAST/Fuzz mode](https://junglewise.ai/threats/cve-2026-76805-nuclei-environment-variable-disclosure-in-dast-fuzz-mode)
- [ProjectDiscovery Nuclei security gate bypass via workflow file-protocol templates](https://junglewise.ai/threats/cve-2026-76804-projectdiscovery-nuclei-security-gate-bypass-via-workflow-file)
- [ProjectDiscovery Nuclei local file read via MySQL sandbox bypass](https://junglewise.ai/threats/cve-2026-76803-projectdiscovery-nuclei-local-file-read-via-mysql-sandbox-bypass)
- [ProjectDiscovery Nuclei arbitrary command execution in DAST template loading](https://junglewise.ai/threats/cve-2026-76802-projectdiscovery-nuclei-arbitrary-command-execution-in-dast)
