CVE-2023-37896Projectdiscovery Nuclei
High 7.5 No auth needed
Follow: this CVE · Projectdiscovery · Projectdiscovery Nuclei We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- No
- Published
- Aug 4, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Nuclei is a vulnerability scanner. Prior to version 2.9.9, a security issue in the Nuclei project affected users utilizing Nuclei as Go code (SDK) running custom templates. This issue did not affect CLI users. The problem was related to sanitization issues with payload loading in sandbox mode. There was a potential risk with payloads loading in sandbox mode. The issue occurred due to relative paths not being converted to absolute paths before doing the check for `sandbox` flag allowing arbitrary files to be read on the filesystem in certain cases when using Nuclei from `Go` SDK implementation.
This issue has been fixed in version 2.9.9. The maintainers have also enabled sandbox by default for filesystem loading. This can be optionally disabled if required. The `-sandbox` option has been deprecated and is now divided into two new options: `-lfa` (allow local file access) which is enabled by default and `-lna` (restrict local network access) which can be enabled by users optionally. The `-lfa` allows file (payload) access anywhere on the system (disabling sandbox effectively), and `-lna` blocks connections to the local/private network.
What to do
- Apply the vendor's security update for Nuclei.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/projectdiscovery/nuclei |
< 2.9.9 |
2.9.9 |
go get github.com/projectdiscovery/nuclei@v2.9.9 |
| Go | github.com/projectdiscovery/nuclei/v2 |
< 2.9.9 |
2.9.9 |
go get github.com/projectdiscovery/nuclei/v2@v2.9.9 |
| Go | github.com/projectdiscovery/nuclei/v2 |
< 2.9.9 |
2.9.9 |
go get github.com/projectdiscovery/nuclei/v2@v2.9.9 |
Per OSV / GitHub Advisories (GHSA-2xx4-jj5v-6mff, GO-2023-1998). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| projectdiscovery | nuclei | < 2.9.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking
- github.com Release Notes
- github.com Vendor Advisory