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.

Technologies: github.com/projectdiscovery/nuclei (Go), github.com/projectdiscovery/nuclei/v2 (Go), github.com/projectdiscovery/nuclei/v3 (Go), ProjectDiscovery Nuclei. Vendors: Go, 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
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.