Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-41646 EUVD-2026-28499GHSA-29rg-wmcw-hpf4GO-2026-4965

Nuclei: Local File Read via require() Module Loader Bypass

Published May 8, 2026 · Updated May 8, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
projectdiscovery nuclei >= 3.0.0, < 3.8.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/projectdiscovery/nuclei all versions — GO-2026-4965
Go github.com/projectdiscovery/nuclei/v2 all versions — GO-2026-4965
Go github.com/projectdiscovery/nuclei/v3 >= 3.0.0, < 3.8.0 3.8.0 GHSA-29rg-wmcw-hpf4

Advisories 1

References